Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
constantinpape committed Jan 24, 2024
1 parent dc6bbd5 commit 5178594
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/test_image_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def test_numpy(self):
resolution=(1, 1, 1), scale_factors=scales,
chunks=(64, 64, 64), tmp_folder=self.tmp_folder,
target="local", max_jobs=self.max_jobs,
description=description)
description="Lorem ipsum.")
self.check_data(os.path.join(self.root, self.dataset_name), im_name)

def test_with_view(self):
Expand Down Expand Up @@ -333,7 +333,8 @@ def check_data(self, dataset_folder, name):
# check the vew
views = metadata["views"]
self.assertIn(name, views)
mobie.validation.validate_view_metadata(name, views[name])
view = views[name]
mobie.validation.validate_view_metadata(view, sources=sources, dataset_folder=dataset_folder)


if __name__ == "__main__":
Expand Down

0 comments on commit 5178594

Please sign in to comment.