From d33663ef3ed47f07951b5b2125ec9361660987ca Mon Sep 17 00:00:00 2001 From: Ben C Date: Thu, 18 Nov 2021 16:45:30 -0500 Subject: [PATCH] Made cant_connect tests run faster --- tests/test_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_auth.py b/tests/test_auth.py index 20801a8..5a49b13 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -19,7 +19,7 @@ class LogoutTest(TestCase): @override_settings(AUTHENTICATION_BACKENDS=['Users.ldap_mock.LDAPMockAuthentication'], LDAP_DOMAIN="example", - LDAP_BASE_CONTEXT="ou=ITP Users,dc=itp,dc=example", LDAP_URL="example-server") + LDAP_BASE_CONTEXT="ou=ITP Users,dc=itp,dc=example", LDAP_URL="0.0.0.0") class LDAPAuthTest(TestCase): url = reverse('login') @@ -126,7 +126,7 @@ class LDAPAuthTest(TestCase): @override_settings(AUTHENTICATION_BACKENDS=['Users.ldap_mock.LDAPMockAuthentication'], LDAP_DOMAIN="example", - LDAP_BASE_CONTEXT="ou=ITP Users,dc=itp,dc=example", LDAP_URL="example-server") + LDAP_BASE_CONTEXT="ou=ITP Users,dc=itp,dc=example", LDAP_URL="0.0.0.0") class UserCleanupTest(TestCase): url = reverse('user-cleanup') -- knotmirror 0.0.1