diff --git a/src/scitacean/testing/backend/_backend.py b/src/scitacean/testing/backend/_backend.py index 866666fa..ca231548 100644 --- a/src/scitacean/testing/backend/_backend.py +++ b/src/scitacean/testing/backend/_backend.py @@ -95,6 +95,8 @@ def _can_connect() -> tuple[bool, str]: return False, str(err) if response.ok: return True, "" + if response.status_code == 401: + return True, "" return False, str(f"{response}: {response.text}")