Skip to content

Commit

Permalink
Python: tests: Use correct sample data file for BAG 1.5 compat test
Browse files Browse the repository at this point in the history
  • Loading branch information
selimnairb committed Nov 15, 2024
1 parent 537c738 commit a6b5a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/test_compat_bag15.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def tearDown(self) -> None:
shutil.rmtree(self.tmp_dir)

def test_open_read_only(self) -> None:
bag_filename = str(Path(self.datapath, 'sample.bag'))
bag_filename = str(Path(self.datapath, 'sample-1.5.0.bag'))

dataset = BAG.Dataset.openDataset(bag_filename, BAG.BAG_OPEN_READONLY)
self.assertIsNotNone(dataset)
Expand All @@ -36,7 +36,7 @@ def test_open_read_only(self) -> None:
dataset.close()

def test_open_read_write(self):
bag_filename = str(Path(self.datapath, 'sample.bag'))
bag_filename = str(Path(self.datapath, 'sample-1.5.0.bag'))

dataset = BAG.Dataset.openDataset(bag_filename, BAG.BAG_OPEN_READ_WRITE)
self.assertIsNotNone(dataset)
Expand Down

0 comments on commit a6b5a01

Please sign in to comment.