Run the unit tests

First, make sure that all requirements for testing are fullfilled and then run pytest:

$ python -m pip install .[test]
$ cd tests
$ pytest .

To run only the tests that do not need slurm use this command:

$ cd tests
$ pytest -m "not slurm" .