All tests are located in the folder (tests
)
To run the tests clone the repository from the GitHub
Open a terminal in the root of the repository and run the commands
$ python -m pip install .[test]
$ python -m pytest
If you want to test not the local server, but one from the container, or profile the app then you can set the utils.LOCAL
and utils.PROFILE
to requested boolean values. Also if utils.PROFILE
is setting utils.LOCAL
will not change anything.
⚠ If you want to run tests on the container you need to set some secrets. Don't worry though,
utils.py
will guide you through, just set theutils.LOCAL = False
.
my_secrets.py
- Secretes, used in testingmy_secrets.py_template
- Template file formy_secrets.py
README.md
- This file, nice recursion;>
test_X.py
- Script for testingX
unit_tst.py
- Smol collection of "manual" testsutils.py
- Utilities used in test scripts