Skip to content

Commit

Permalink
readme: fill out details on how to run tests
Browse files Browse the repository at this point in the history
In particular there is a warning to not run this against a production host.

Which should be obvious for tests anyway.
  • Loading branch information
robvdl committed Mar 7, 2024
1 parent 2f0a947 commit ca2533f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,16 @@ is installed:

pip install -e .[test]

Then just run pytest:
The tests need a real Redis instance to and a Samba host or Active Directory
domain to connect to as the Administrator or admin user.

pytest
WARNING: The tests will be creating users and various other objects
on the domain, so should never be run again a production server.

The Makefile contains the lint and test commands which run pytest and ruff:

make lint
make test

Coverage reports end up in the `reports` folder.

Expand Down

0 comments on commit ca2533f

Please sign in to comment.