Added tests for users

This commit is contained in:
Mawoka
2022-04-16 15:00:44 +02:00
parent 419f2a9906
commit c3f84e755c
8 changed files with 248 additions and 14 deletions
Executable
+5
View File
@@ -0,0 +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
rm classquiz.db
docker container stop test_redis