summaryrefslogtreecommitdiff
path: root/src/leap/eip
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-31 09:09:54 +0900
committerkali <kali@leap.se>2013-01-31 09:28:15 +0900
commitda8a8ac4ebc62f7549d2927c41472561541abfa2 (patch)
tree730c6423a6a8cc1d0ef2b1345f1affcbb1c332c2 /src/leap/eip
parent8763866e0a4fc822f198e2e768993fdb9a38ef80 (diff)
hide jsonschema exception in tests
Diffstat (limited to 'src/leap/eip')
-rw-r--r--src/leap/eip/tests/test_checks.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/eip/tests/test_checks.py b/src/leap/eip/tests/test_checks.py
index ab11037a..f42a0eeb 100644
--- a/src/leap/eip/tests/test_checks.py
+++ b/src/leap/eip/tests/test_checks.py
@@ -11,11 +11,10 @@ import urlparse
from mock import (patch, Mock)
-import jsonschema
-#import ping
import requests
from leap.base import config as baseconfig
+from leap.base import pluggableconfig
from leap.base.constants import (DEFAULT_PROVIDER_DEFINITION,
DEFINITION_EXPECTED_PATH)
from leap.eip import checks as eipchecks
@@ -125,7 +124,7 @@ class EIPCheckTest(BaseLeapTest):
#with self.assertRaises(eipexceptions.EIPMissingDefaultProvider):
# XXX we should catch this as one of our errors, but do not
# see how to do it quickly.
- with self.assertRaises(jsonschema.ValidationError):
+ with self.assertRaises(pluggableconfig.ValidationError):
#import ipdb;ipdb.set_trace()
checker.eipconfig.load(fromfile=eipcfg_path)
checker.check_is_there_default_provider()