summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/config/tests
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-01-15 19:18:05 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-01-16 16:53:28 -0300
commit8c71fcd6e070d6bf46394fb29fba4d75c76a3987 (patch)
tree35f9083ffdac8537b7ffd5eecec42bd895bdf033 /src/leap/bitmask/config/tests
parente7472ad6686e06c2bd78e9f873632b58538f05f7 (diff)
Fix failing tests.
Remove srpauth obsolete tests. Remove providerconfig obsolete test. Set as mandatory the signaler object on ProviderBootstrapper and EIPBootstrapper. Closes #6631.
Diffstat (limited to 'src/leap/bitmask/config/tests')
-rw-r--r--src/leap/bitmask/config/tests/test_providerconfig.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/leap/bitmask/config/tests/test_providerconfig.py b/src/leap/bitmask/config/tests/test_providerconfig.py
index fe27e683..7bc30f9c 100644
--- a/src/leap/bitmask/config/tests/test_providerconfig.py
+++ b/src/leap/bitmask/config/tests/test_providerconfig.py
@@ -258,18 +258,6 @@ class ProviderConfigTest(BaseLeapTest):
pc.load(data=json_string)
self.assertTrue('unknown' in pc.get_services())
- def test_get_services_string(self):
- pc = self._provider_config
- config = copy.deepcopy(sample_config)
- config['services'] = [
- 'openvpn', 'asdf', 'openvpn', 'not_supported_service']
- json_string = json.dumps(config)
- pc.load(data=json_string)
-
- self.assertEqual(pc.get_services_string(),
- "Encrypted Internet, asdf, Encrypted Internet,"
- " not_supported_service")
-
if __name__ == "__main__":
unittest.main()