Skip to content
Snippets Groups Projects
Commit f14e9282 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Cannot run OIDCSession-test when OIDC_RP_CLIENT_ID is not set in the...

Cannot run OIDCSession-test when OIDC_RP_CLIENT_ID is not set in the environment to configure django settings
parent 63506cfc
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,9 @@ class LDAPSession(unittest.TestCase): ...@@ -74,6 +74,9 @@ class LDAPSession(unittest.TestCase):
@integration_test @integration_test
class OIDCSession(unittest.TestCase): class OIDCSession(unittest.TestCase):
def setUp(self):
if "OIDC_RP_CLIENT_ID" not os.environ.keys():
raise unittest.SkipTest("Cannot run OIDCSession-test when OIDC_RP_CLIENT_ID is not set in the environment to configure django settings")
@integration_test @integration_test
def test_failure_without_authentication(self): def test_failure_without_authentication(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment