From 4b51f42e1b3a3035d7f762e5253b88ee1ce35dbb Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Wed, 20 Dec 2023 12:50:01 +0000 Subject: [PATCH] test(ssh): remove corresponding rest test --- tests/test_rest_endpoints/services/test_ssh.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/test_rest_endpoints/services/test_ssh.py b/tests/test_rest_endpoints/services/test_ssh.py index dfcce57..5045149 100644 --- a/tests/test_rest_endpoints/services/test_ssh.py +++ b/tests/test_rest_endpoints/services/test_ssh.py @@ -94,20 +94,6 @@ def some_users(mocker, datadir): ## PUT ON /ssh/key/send ###################################################### - -def test_add_root_key_one_more(authorized_client, root_and_admin_have_keys): - response = authorized_client.put( - "/services/ssh/key/send", json={"public_key": "ssh-rsa KEY test@pc"} - ) - assert response.status_code == 201 - assert read_json(root_and_admin_have_keys / "root_and_admin_have_keys.json")["ssh"][ - "rootKeys" - ] == [ - "ssh-ed25519 KEY test@pc", - "ssh-rsa KEY test@pc", - ] - - def test_add_existing_root_key(authorized_client, root_and_admin_have_keys): response = authorized_client.put( "/services/ssh/key/send", json={"public_key": "ssh-ed25519 KEY test@pc"}