From 4f3b35c6ab5b68b0801751b50ba52af702b557dc Mon Sep 17 00:00:00 2001 From: kari Barry Date: Wed, 2 Oct 2024 16:00:09 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=90=F0=9F=93=90=F0=9F=94=B5?= =?UTF-8?q?=F0=9F=93=90=20I=20guess=20we=20doin'=20`enter=5Fusername=5Fpas?= =?UTF-8?q?sword`=20now=20(upstream=20breaking=20API=20change)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tiled/_tests/test_authentication.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tiled/_tests/test_authentication.py b/tiled/_tests/test_authentication.py index 95a6fe9c1..6995d4cec 100644 --- a/tiled/_tests/test_authentication.py +++ b/tiled/_tests/test_authentication.py @@ -658,7 +658,7 @@ def test_api_key_bypass_scopes(enter_username_password, principals_context): def test_admin_delete_principal_apikey( - enter_password, + enter_username_password, principals_context, ): """ @@ -666,7 +666,7 @@ def test_admin_delete_principal_apikey( """ with principals_context["context"] as context: # Log in as Bob (Ordinary user) - with enter_password("secret2"): + with enter_username_password("bob", "secret2"): context.authenticate(username="bob") # Create an ordinary user API Key @@ -675,7 +675,7 @@ def test_admin_delete_principal_apikey( context.logout() # Log in as Alice (Admin) - with enter_password("secret1"): + with enter_username_password("alice", "secret1"): context.authenticate(username="alice") # Delete the created API Key via service principal