diff options
author | kali <kali@leap.se> | 2012-08-27 05:13:29 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-08-27 05:13:29 +0900 |
commit | c2786de7d2d09d600fa516f93cc1a1f851f0d705 (patch) | |
tree | 8b14f3b74b7f9e506fb77eb9826a0c4843507667 /src/leap/base/tests/test_providers.py | |
parent | c2955d9655e3e7ccb3c5fc9e7d00a0d493d48a40 (diff) |
make provider-fetch tests pass
test provider-definition dump functions.
refactored the set-temp-to-home methods to setUpClass
separate provider-fetch tests on different testcases (so they actually
call to requests).
Diffstat (limited to 'src/leap/base/tests/test_providers.py')
-rw-r--r-- | src/leap/base/tests/test_providers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/leap/base/tests/test_providers.py b/src/leap/base/tests/test_providers.py index 2f029930..544355cc 100644 --- a/src/leap/base/tests/test_providers.py +++ b/src/leap/base/tests/test_providers.py @@ -48,6 +48,7 @@ class TestLeapProviderDefinition(BaseLeapTest): # XXX THIS TEST SHOULD MOVE TO test_baseconfig self.definition.save() filename = self.definition.filename + self.assertTrue(os.path.isfile(filename)) deserialized = json.load(open(filename, 'rb')) self.assertEqual(deserialized, EXPECTED_DEFAULT_CONFIG) |