Finished test for user-router

This commit is contained in:
Mawoka
2022-04-16 17:56:44 +02:00
parent 78df99d837
commit a561537f05
5 changed files with 48 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
docker run --rm -d -p 6379:6379 --name test_redis redis:alpine
python3 init_db.py
coverage run -m pytest -s -v --asyncio-mode=strict --cache-clear classquiz/tests
coverage run -m pytest -s -v --asyncio-mode=strict classquiz/tests/test_users.py
rm classquiz.db
docker container stop test_redis