暫無描述

tum 9de2549954 first commit 1 月之前
..
README.md 9de2549954 first commit 1 月之前
docker_compose.py 9de2549954 first commit 1 月之前
graphql_api.py 9de2549954 first commit 1 月之前
iris.py 9de2549954 first commit 1 月之前
requirements.txt 9de2549954 first commit 1 月之前
rest_api.py 9de2549954 first commit 1 月之前
tests_graphql.py 9de2549954 first commit 1 月之前
tests_rest_alerts.py 9de2549954 first commit 1 月之前
tests_rest_assets.py 9de2549954 first commit 1 月之前
tests_rest_cases.py 9de2549954 first commit 1 月之前
tests_rest_customers.py 9de2549954 first commit 1 月之前
tests_rest_iocs.py 9de2549954 first commit 1 月之前
tests_rest_miscellaneous.py 9de2549954 first commit 1 月之前
tests_rest_permissions.py 9de2549954 first commit 1 月之前
tests_rest_tasks.py 9de2549954 first commit 1 月之前
tests_rest_users.py 9de2549954 first commit 1 月之前
user.py 9de2549954 first commit 1 月之前

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