mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-22 21:14:18 +00:00
Merge branch 'main' of zero.ryg.one:nest/g2-progetto
This commit is contained in:
commit
c6ccba7db3
2 changed files with 0 additions and 14 deletions
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue