summaryrefslogtreecommitdiffstats
path: root/robotframework-onap/eteutils/JSONUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'robotframework-onap/eteutils/JSONUtils.py')
-rw-r--r--robotframework-onap/eteutils/JSONUtils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/robotframework-onap/eteutils/JSONUtils.py b/robotframework-onap/eteutils/JSONUtils.py
index de5da6b..e5de182 100644
--- a/robotframework-onap/eteutils/JSONUtils.py
+++ b/robotframework-onap/eteutils/JSONUtils.py
@@ -7,11 +7,11 @@ class JSONUtils:
def json_equals(self, left, right):
"""JSON Equals takes in two strings or json objects, converts them into json if needed and then compares them, returning if they are equal or not."""
- if isinstance(left, basestring):
+ if isinstance(left, str):
left_json = json.loads(left);
else:
left_json = left;
- if isinstance(right, basestring):
+ if isinstance(right, str):
right_json = json.loads(right);
else:
right_json = right;