blob: 6534723e4f6cc23f4ea6ffb8cec4898dccc49a9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
"""Test config helper functions"""
import unittest
from leap.eip import config
class TestConfig(unittest.TestCase):
"""
Test configuration help functions.
"""
def test_get_config_json(self):
config_js = config.get_config_json()
self.assertTrue(isinstance(config_js, dict))
self.assertTrue(config_js.has_key('transport'))
self.assertTrue(config_js.has_key('provider'))
self.assertEqual(config_js['provider'], "testprovider.org")
|