1
Fork 0
mirror of https://github.com/pds-nest/nest.git synced 2024-11-22 04:54:18 +00:00

piccoli fix

This commit is contained in:
Annielated 2021-05-27 10:55:30 +02:00
parent 4a62862f9c
commit cd3a46246d
2 changed files with 0 additions and 14 deletions

View file

@ -167,19 +167,6 @@ class TestRepositoryPatch:
}) })
assert r.status_code == 204 assert r.status_code == 204
'''
def test_unknown_type(self, flask_client: Client, admin_headers):
r = flask_client.patch(f'/api/v1/repositories/1', headers=admin_headers,
json={
"name": "string",
"close": "string",
"open": "string",
"evaluation_mode": 99
})
assert r.status_code == 400
assert r.json["result"] == "failure" '''
class TestRepositoryDelete: class TestRepositoryDelete:

View file

@ -207,4 +207,3 @@ class TestOneAlertOfARepository:
def test_delete_alert_for_success(self, flask_client: Client, user_headers): def test_delete_alert_for_success(self, flask_client: Client, user_headers):
r = flask_client.delete(f'/api/v1/alert/1', headers=user_headers) r = flask_client.delete(f'/api/v1/alert/1', headers=user_headers)
assert r.status_code == 204 assert r.status_code == 204