forked from mtusi2026/mtusi2026lab2
lab2
This commit is contained in:
@@ -24,3 +24,14 @@ load:
|
||||
test-persistence:
|
||||
@test -n "$(ACTION_SCRIPT)" || (echo "Set ACTION_SCRIPT to your implemented executable restart hook"; exit 2)
|
||||
$(PYTHON) tests/resilience.py --mode persistence --action-script "$(ACTION_SCRIPT)" --base-url "$(BASE_URL)" $(TLS_ARGS)
|
||||
|
||||
.PHONY: test-student test-expiry verify
|
||||
|
||||
test-student:
|
||||
docker compose --env-file .env exec -T api python -m unittest discover -s student-tests -v
|
||||
|
||||
test-expiry:
|
||||
$(PYTHON) scripts/test_expiry.py
|
||||
|
||||
verify:
|
||||
$(PYTHON) scripts/verify.py
|
||||
|
||||
Reference in New Issue
Block a user