Commit f14e9282 authored by Jorrit Schaap's avatar Jorrit Schaap

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
......@@ -74,6 +74,9 @@ class LDAPSession(unittest.TestCase):
@integration_test
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
def test_failure_without_authentication(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment