summaryrefslogtreecommitdiff
path: root/src/leap/eip/tests
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-31 09:09:54 +0900
committerkali <kali@leap.se>2013-01-31 09:09:54 +0900
commitfff2c771cc9c93cf566f586c3c033fed7266ea27 (patch)
treec659fd5df2256e8daea81ef8562ed4929595c94d /src/leap/eip/tests
parent65b8541ce9624684cde7394b6dd96a31d4204453 (diff)
hide jsonschema exception in tests
Diffstat (limited to 'src/leap/eip/tests')
-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()