Skip to content

Commit

Permalink
making sure to not use an old test product by accident
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Jun 19, 2024
1 parent 5de8c31 commit f60a34b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions jani_generator/test/test_systemtest_scxml_to_jani.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,13 +218,15 @@ def test_with_entrypoint_main_ros(self):
def test_with_entrypoint_main_ros_w_bt(self):
test_data_dir = os.path.join(
os.path.dirname(__file__), '_test_data', 'ros_example_w_bt')
xml_main_path = os.path.join(test_data_dir, 'main.xml')
ouput_path = os.path.join(test_data_dir, 'main.jani')
if os.path.exists(ouput_path):
os.remove(ouput_path)
xml_main_path = os.path.join(test_data_dir, 'main.xml')
if os.path.exists(ouput_path):
os.remove(ouput_path)
interpret_top_level_xml(xml_main_path)
self.assertTrue(os.path.exists(ouput_path))

os.remove(ouput_path)


if __name__ == '__main__':
Expand Down

0 comments on commit f60a34b

Please sign in to comment.