summaryrefslogtreecommitdiffstats
path: root/tests/functional/heketi/test_node_enable_disable.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/heketi/test_node_enable_disable.py')
-rw-r--r--tests/functional/heketi/test_node_enable_disable.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/functional/heketi/test_node_enable_disable.py b/tests/functional/heketi/test_node_enable_disable.py
index dcd2f7b4..e1e416fc 100644
--- a/tests/functional/heketi/test_node_enable_disable.py
+++ b/tests/functional/heketi/test_node_enable_disable.py
@@ -1,5 +1,10 @@
"""Test cases to disable and enable node in heketi."""
-import json
+try:
+ # py2/3
+ import simplejson as json
+except ImportError:
+ # py2
+ import json
from glusto.core import Glusto as g