From a6b5a01e2bb0bfa569e9e533429f71de7f952bf2 Mon Sep 17 00:00:00 2001 From: selimnairb Date: Fri, 15 Nov 2024 11:00:48 -0500 Subject: [PATCH] Python: tests: Use correct sample data file for BAG 1.5 compat test --- python/test_compat_bag15.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/test_compat_bag15.py b/python/test_compat_bag15.py index 56cb00b497..0081153de9 100644 --- a/python/test_compat_bag15.py +++ b/python/test_compat_bag15.py @@ -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) @@ -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)