From cd3a46246db891706dd012eb6b95717d3b837fc9 Mon Sep 17 00:00:00 2001 From: Annielated Date: Thu, 27 May 2021 10:55:30 +0200 Subject: [PATCH] piccoli fix --- nest_backend/test/test_2_repository.py | 13 ------------- nest_backend/test/test_4_alert.py | 1 - 2 files changed, 14 deletions(-) diff --git a/nest_backend/test/test_2_repository.py b/nest_backend/test/test_2_repository.py index 7b9a86e..958f0d8 100644 --- a/nest_backend/test/test_2_repository.py +++ b/nest_backend/test/test_2_repository.py @@ -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: diff --git a/nest_backend/test/test_4_alert.py b/nest_backend/test/test_4_alert.py index 6634958..49a8877 100644 --- a/nest_backend/test/test_4_alert.py +++ b/nest_backend/test/test_4_alert.py @@ -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 -