diff --git a/README.md b/README.md index 3881f30d..3deaffa2 100644 --- a/README.md +++ b/README.md @@ -438,6 +438,11 @@ platyvdock rm device_id ## Tests To run the tests simply run `pytest` either from the project root folder or the `tests/` folder. +Or run the following command from the project root folder: + +```shell +python -m tests +``` --- diff --git a/tests/__main__.py b/tests/__main__.py new file mode 100644 index 00000000..e8454173 --- /dev/null +++ b/tests/__main__.py @@ -0,0 +1,5 @@ +import pytest + +if __name__ == '__main__': + # Run all the tests + pytest.main()