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

Merge branch 'main' of zero.ryg.one:nest/g2-progetto

This commit is contained in:
@uni-chiara 2021-05-27 10:57:19 +02:00
commit c6ccba7db3
2 changed files with 0 additions and 14 deletions

View file

@ -167,19 +167,6 @@ class TestRepositoryPatch:
})
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:

View file

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