forked from mtusi2026/mtusi2026lab6
lab6
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
.venv/bin/python student-tests/test_api.py --base-url "http://localhost:8086"
|
||||
PASS: malformed JSON/media type, duplicate username, blank message, outsider access, pagination
|
||||
PASS: 10 clients created exactly 100 unique messages
|
||||
.venv/bin/python student-tests/checks.py --base-url "http://localhost:8086"
|
||||
PASS: registration race, invalid input, cursor scope/types on two API, read-after-write, logout
|
||||
.venv/bin/python student-tests/idempotency.py --base-url "http://localhost:8086"
|
||||
PASS: shared idempotency, scope, conflict and auth on replay
|
||||
docker compose exec -T api python student-tests/database.py
|
||||
Traceback (most recent call last):
|
||||
File "/app/student-tests/database.py", line 31, in <module>
|
||||
assert db.execute('SELECT count(*) FROM schema_migrations').fetchone()[0] == 4
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
AssertionError
|
||||
make: *** [Makefile:42: student-checks] Error 1
|
||||
Reference in New Issue
Block a user