Commit 19103d18 authored by Georgios Dagkakis's avatar Georgios Dagkakis

change pushed by mistake reverted

parent c0220164
......@@ -59,7 +59,7 @@ class SimulationTopology(TestCase):
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)
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.write(stable_result)
dump_file.close()
......
......@@ -59,7 +59,7 @@ class SimulationTopology(TestCase):
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)
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.write(stable_result)
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