Commit b8b90acf authored by Georgios Dagkakis's avatar Georgios Dagkakis

revert wrong changes in testSimulationTopology

parent 1cadfcbb
...@@ -59,7 +59,7 @@ class SimulationTopology(TestCase): ...@@ -59,7 +59,7 @@ class SimulationTopology(TestCase):
result_data['result']['result_list'][0]["elementList"].sort(key=lambda x: x["id"]) result_data['result']['result_list'][0]["elementList"].sort(key=lambda x: x["id"])
stable_result = json.dumps(result_data['result']['result_list'][0], indent=True, sort_keys=True) stable_result = json.dumps(result_data['result']['result_list'][0], indent=True, sort_keys=True)
dump_path = os.path.join(self.dump_folder_path, "%s.result" % filename) dump_path = os.path.join(self.dump_folder_path, "%s.result" % filename)
if 1 or bool(os.environ.get("dump", False)): if bool(os.environ.get("dump", False)):
dump_file = open(dump_path, 'w') dump_file = open(dump_path, 'w')
dump_file.write(stable_result) dump_file.write(stable_result)
dump_file.close() dump_file.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment