From b9724cf1bbcc0cbc3c5c916e6b8c4be3f2d17337 Mon Sep 17 00:00:00 2001 From: bt-dlagin Date: Wed, 8 Jan 2025 09:28:11 +0100 Subject: [PATCH] [18.0][MIG] auth_saml: Migration to 18.0 --- auth_saml/tests/test_pysaml.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/auth_saml/tests/test_pysaml.py b/auth_saml/tests/test_pysaml.py index c30e23a801..7cd3db0a7f 100644 --- a/auth_saml/tests/test_pysaml.py +++ b/auth_saml/tests/test_pysaml.py @@ -432,9 +432,7 @@ def test_disallow_user_password_when_changing_settings(self): def test_saml_metadata_invalid_provider(self): """Accessing SAML metadata with an invalid provider ID should return 404.""" - response = self.url_open( - f"/auth_saml/metadata?p=999999&d={self.env.cr.dbname}" - ) + response = self.url_open(f"/auth_saml/metadata?p=999999&d={self.env.cr.dbname}") self.assertEqual(response.status_code, 404) self.assertIn("Unknown provider", response.text)