diff --git a/scripts/tests/testB2SafeCmd/epic2intgtest.py b/scripts/tests/testB2SafeCmd/epic2intgtest.py index 2ff4c3d..5fff0a0 100644 --- a/scripts/tests/testB2SafeCmd/epic2intgtest.py +++ b/scripts/tests/testB2SafeCmd/epic2intgtest.py @@ -106,7 +106,7 @@ def test_search_handle_by_key_value(self): search_result = subprocess_popen(command) search_result_json = json.loads(search_result[0]) self.assertEqual( - create_result[0], search_result_json[0], + unicode(create_result[0]).lower(), search_result_json[0].lower(), 'search existing handle by key returns unexpected response') @@ -168,7 +168,7 @@ def test_create_handle(self): command = [EPIC_PATH, CRED_STORE, CRED_PATH, 'search', 'URL', 'http://www.testB2SafeCmd.com/1'] search_result = subprocess_popen(command) search_result_json = json.loads(search_result[0]) - self.assertEqual(create_result[0], search_result_json[0], + self.assertEqual(unicode(create_result[0]).lower(), search_result_json[0].lower(), 'create handle should add new handle')