mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
457 B
Executable File
457 B
Executable File
Unit Tests
Warning
Please note these test modify data in the database.
- See the
/testdirectory for available test cases. These are not exhaustive but cover the main API endpoints. - To run a test case, SSH into the container:
sudo docker exec -it netalertx /bin/bash - Inside the container, install pytest (if not already installed):
pip install pytest - Run a specific test case:
pytest /app/test/TESTFILE.py