diff --git a/README.md b/README.md index 3881f30d5b..3deaffa2ec 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 0000000000..e8454173ba --- /dev/null +++ b/tests/__main__.py @@ -0,0 +1,5 @@ +import pytest + +if __name__ == '__main__': + # Run all the tests + pytest.main()