Bez popisu

tum 9de2549954 first commit před 1 měsícem
..
README.md 9de2549954 first commit před 1 měsícem
docker_compose.py 9de2549954 first commit před 1 měsícem
graphql_api.py 9de2549954 first commit před 1 měsícem
iris.py 9de2549954 first commit před 1 měsícem
requirements.txt 9de2549954 first commit před 1 měsícem
rest_api.py 9de2549954 first commit před 1 měsícem
tests_graphql.py 9de2549954 first commit před 1 měsícem
tests_rest_alerts.py 9de2549954 first commit před 1 měsícem
tests_rest_assets.py 9de2549954 first commit před 1 měsícem
tests_rest_cases.py 9de2549954 first commit před 1 měsícem
tests_rest_customers.py 9de2549954 first commit před 1 měsícem
tests_rest_iocs.py 9de2549954 first commit před 1 měsícem
tests_rest_miscellaneous.py 9de2549954 first commit před 1 měsícem
tests_rest_permissions.py 9de2549954 first commit před 1 měsícem
tests_rest_tasks.py 9de2549954 first commit před 1 měsícem
tests_rest_users.py 9de2549954 first commit před 1 měsícem
user.py 9de2549954 first commit před 1 měsícem

README.md

Setup test environment

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run tests

First activate the virtual environment:

source ./venv/bin/activate

Then run:

python -m unittest --verbose

To execute only one test, suffix with the fully qualified test name. Example:

python -m unittest tests_rest.TestsRest.test_create_asset_should_not_fail