From 5390068ce7536a896e3ce6c8320328fcbe91867e Mon Sep 17 00:00:00 2001 From: Callum Forrester Date: Tue, 17 Dec 2024 09:37:27 +0000 Subject: [PATCH] Xfail auth system tests pending an issue --- tests/system_tests/test_blueapi_system.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/system_tests/test_blueapi_system.py b/tests/system_tests/test_blueapi_system.py index 5aa08ff0b..c9f6ceff1 100644 --- a/tests/system_tests/test_blueapi_system.py +++ b/tests/system_tests/test_blueapi_system.py @@ -118,6 +118,7 @@ def clean_existing_tasks(client: BlueapiClient): yield +@pytest.mark.xfail(reason="https://github.com/DiamondLightSource/blueapi/issues/676") def test_cannot_access_endpoints( client_without_auth: BlueapiClient, blueapi_client_get_methods: list[str] ): @@ -129,6 +130,7 @@ def test_cannot_access_endpoints( getattr(client_without_auth, get_method)() +@pytest.mark.xfail(reason="https://github.com/DiamondLightSource/blueapi/issues/676") def test_can_get_oidc_config_without_auth(client_without_auth: BlueapiClient): assert client_without_auth.get_oidc_config() == OIDCConfig( well_known_url="https://example.com/realms/master/.well-known/openid-configuration",