Disabled readbility function to stop unintended reordering of json
configuration
Change-Id: Ibf9d3816b5193131467463f85371bf841c146f00
diff --git a/TestON/tests/FUNCnetconf/Dependency/netconf.py b/TestON/tests/FUNCnetconf/Dependency/netconf.py
index 5ebbea5..37df23a 100644
--- a/TestON/tests/FUNCnetconf/Dependency/netconf.py
+++ b/TestON/tests/FUNCnetconf/Dependency/netconf.py
@@ -63,9 +63,13 @@
main.configPort + '} ] } } }'
try:
file = open( "/home/admin/OnosSystemTest/TestON/tests/FUNCnetconf/Dependency/netconfConfig.json", 'w' )
- main.cfgJson = json.loads( main.cfgJson )
- main.cfgJson = json.dumps( main.cfgJson, sort_keys=True,
- indent=4, separators=(',', ': '))
+ # These lines can cause errors during the configuration process because
+ # they cause the json string to turn into an unordered dictionary before
+ # sorting it alphabetically which can cause the driver type to not be
+ # configured.
+ # main.cfgJson = json.loads( main.cfgJson )
+ # main.cfgJson = json.dumps( main.cfgJson, sort_keys=True,
+ # indent=4, separators=(',', ': '))
print main.cfgJson
file.write( main.cfgJson )
if file: