Some tests require file samples, which can be found in the encrypted folder
tests/test_files.zip (password: “infected”).
Unzip the archive in
tests/test_files folder before running the tests.
Please remember that these are dangerous malware! They come encrypted and locked for a reason!
Do NOT run them unless you are absolutely sure of what you are doing!
They are to be used only for launching specific tests that require them (
With the following constants in
__init__.py, you can customize your tests:
MOCKING_CONNECTIONS: Mock connections to external API to test functions without a real connection or a valid API Key.
If you prefer to use custom inputs for tests, you can change the following constants:
The test requirements are specified in the
test-requirements.txtfile. Install them using,
$ pip3 install -r test-requirements.txt
Launch the tests using