diff options
Diffstat (limited to 'components/pm-subscription-handler/tests/test_config_handler.py')
-rwxr-xr-x | components/pm-subscription-handler/tests/test_config_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/tests/test_config_handler.py b/components/pm-subscription-handler/tests/test_config_handler.py index 5e80db5d..dce48fca 100755 --- a/components/pm-subscription-handler/tests/test_config_handler.py +++ b/components/pm-subscription-handler/tests/test_config_handler.py @@ -24,7 +24,7 @@ from os import path import responses from tenacity import wait_none -from pmsh_service.mod.config_handler import ConfigHandler +from mod.config_handler import ConfigHandler class ConfigHandlerTestCase(unittest.TestCase): @@ -49,7 +49,7 @@ class ConfigHandlerTestCase(unittest.TestCase): @responses.activate def test_get_config_success(self): - responses.add(responses.GET, self.cbs_url, json=json.dumps(self.expected_config), + responses.add(responses.GET, self.cbs_url, json=self.expected_config, status=200) config_handler = ConfigHandler() |