summaryrefslogtreecommitdiff
path: root/src/leap/eip/tests
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-09-04 03:18:13 +0900
committerkali <kali@leap.se>2012-09-04 03:18:13 +0900
commit83a3fed0d38e44e64cec027f9fd2fcd5a894f96a (patch)
tree14890561d067ffa3d1444af7c77c1389853b3845 /src/leap/eip/tests
parent8b3ad186e947ad962252c5d4b47a52ccb5514d98 (diff)
fix test_checks: do not mess with real home path!
It is really dangerous to mess with expanduser paths in tests without deriving testcases from LeapTestCase. It'd be good to devise a way of checking for that :(
Diffstat (limited to 'src/leap/eip/tests')
-rw-r--r--src/leap/eip/tests/test_checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/eip/tests/test_checks.py b/src/leap/eip/tests/test_checks.py
index 09fdaabf..0a87f573 100644
--- a/src/leap/eip/tests/test_checks.py
+++ b/src/leap/eip/tests/test_checks.py
@@ -228,7 +228,7 @@ class ProviderCertCheckerTest(BaseLeapTest):
checker.is_there_provider_ca())
-class ProviderCertCheckerHTTPSTests(BaseHTTPSServerTestCase):
+class ProviderCertCheckerHTTPSTests(BaseHTTPSServerTestCase, BaseLeapTest):
class request_handler(NoLogRequestHandler, BaseHTTPRequestHandler):
responses = {
'/': ['OK', ''],