summaryrefslogtreecommitdiff
path: root/src/leap/base/tests/test_providers.py
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/base/tests/test_providers.py
parent8763866e0a4fc822f198e2e768993fdb9a38ef80 (diff)
hide jsonschema exception in tests
Diffstat (limited to 'src/leap/base/tests/test_providers.py')
-rw-r--r--src/leap/base/tests/test_providers.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/leap/base/tests/test_providers.py b/src/leap/base/tests/test_providers.py
index f257f54d..92bc1f2f 100644
--- a/src/leap/base/tests/test_providers.py
+++ b/src/leap/base/tests/test_providers.py
@@ -6,9 +6,7 @@ except ImportError:
import unittest
import os
-import jsonschema
-
-#from leap import __branding as BRANDING
+from leap.base.pluggableconfig import ValidationError
from leap.testing.basetest import BaseLeapTest
from leap.base import providers
@@ -96,7 +94,7 @@ class TestLeapProviderDefinition(BaseLeapTest):
_config = copy.deepcopy(self.config)
# bad type, raise validation error
_config['domain'] = 111
- with self.assertRaises(jsonschema.ValidationError):
+ with self.assertRaises(ValidationError):
self.definition.validate(_config)
@unittest.skip