Skip to content

Commit

Permalink
Re-order variable creation
Browse files Browse the repository at this point in the history
Distro A, OPSEC #4584

Signed-off-by: Jacob Hassold <[email protected]>
  • Loading branch information
Jacob Hassold committed Mar 30, 2021
1 parent 0fdcb3e commit a2e72de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosbag2_py/test/test_reindexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
def test_reindexer_multiple_files():
bag_path = str(Path(__file__).parent.parent
/ 'resources' / 'reindex_test_bags' / 'multiple_files')
result_path = bag_path / 'metadata.yaml'

storage_options, converter_options = get_rosbag_options(bag_path)

reindexer = rosbag2_py.Reindexer()
reindexer.reindex(storage_options)

result_path = bag_path / 'metadata.yaml'

assert(result_path.exists())

result_path.unlink(missing_ok=True)

0 comments on commit a2e72de

Please sign in to comment.