summaryrefslogtreecommitdiff
path: root/src/leap/base/tests
diff options
context:
space:
mode:
authorkali <kali@leap.se>2012-12-20 02:50:52 +0900
committerkali <kali@leap.se>2012-12-20 02:50:52 +0900
commite98c3cc5fad75bea038dc67238e5ce85d701b1e1 (patch)
tree343b641ac81a5578cac25628748b0690708d2aa7 /src/leap/base/tests
parent6a8b5c24571251cb39e8d83333b0450e8324dcbe (diff)
fix broken tests
Diffstat (limited to 'src/leap/base/tests')
-rw-r--r--src/leap/base/tests/test_providers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/base/tests/test_providers.py b/src/leap/base/tests/test_providers.py
index 8801a3eb..9c11f270 100644
--- a/src/leap/base/tests/test_providers.py
+++ b/src/leap/base/tests/test_providers.py
@@ -90,7 +90,8 @@ class TestLeapProviderDefinition(BaseLeapTest):
def test_provider_validation(self):
self.definition.validate(self.config)
_config = copy.deepcopy(self.config)
- _config['serial'] = 'aaa'
+ # bad type, raise validation error
+ _config['domain'] = 111
with self.assertRaises(jsonschema.ValidationError):
self.definition.validate(_config)