diff --git a/tests/test_basic.py b/tests/test_basic.py index ce941d87..eab9d4ef 100644 --- a/tests/test_basic.py +++ b/tests/test_basic.py @@ -51,6 +51,7 @@ def test_api_docs(client: Client): '/documents/devices/', '/documents/erasures/', '/documents/static/{filename}', + '/documents/stock/', '/drills/{id}/merge/', '/graphic-cards/{id}/merge/', '/hard-drives/{id}/merge/', diff --git a/tests/test_snapshot.py b/tests/test_snapshot.py index 9372503f..4482e66e 100644 --- a/tests/test_snapshot.py +++ b/tests/test_snapshot.py @@ -291,7 +291,7 @@ def test_snapshot_different_properties_same_tags(user: UserClient, tag_id: str): def test_snapshot_upload_twice_uuid_error(user: UserClient): pc1 = file('basic.snapshot') user.post(pc1, res=Snapshot) - user.post(pc1, res=Snapshot, status=DBError) + user.post(pc1, res=Snapshot, status=UniqueViolation) @pytest.mark.mvp