From 980d3622e8acce3e5c7c9a90eeda06f76a1f13d0 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 27 Nov 2023 18:12:45 +0000 Subject: [PATCH] test(services): remove redundant legacy bad-ssh-key test from rest-enfpo --- tests/test_rest_endpoints/services/test_ssh.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_rest_endpoints/services/test_ssh.py b/tests/test_rest_endpoints/services/test_ssh.py index a17bdab..a1a33f8 100644 --- a/tests/test_rest_endpoints/services/test_ssh.py +++ b/tests/test_rest_endpoints/services/test_ssh.py @@ -269,13 +269,6 @@ def test_add_existing_root_key(authorized_client, root_and_admin_have_keys): ] -def test_add_invalid_root_key(authorized_client, ssh_on): - response = authorized_client.put( - "/services/ssh/key/send", json={"public_key": "INVALID KEY test@pc"} - ) - assert response.status_code == 400 - - ## /ssh/keys/{user} ######################################################