Skip to content

Commit

Permalink
Fixed missing variables and fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
HBakerOS committed May 11, 2023
1 parent 6c5f3d7 commit 10c6dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_paired_datasets(img_root: Path) -> None:
)


def test_paired_union_datasets() -> None:
def test_paired_union_datasets(img_root: Path) -> None:
def dataset_test(_dataset) -> None:
query_1 = get_random_bounding_box(bounds, (32, 32), 10.0)
query_2 = get_random_bounding_box(bounds, (32, 32), 10.0)
Expand All @@ -126,6 +126,8 @@ def dataset_test(_dataset) -> None:
assert type(sample_1) == dict
assert type(sample_2) == dict

bounds = BoundingBox(411248.0, 412484.0, 4058102.0, 4059399.0, 0, 1e12)

dataset1 = TstImgDataset(img_root)
dataset2 = TstImgDataset(img_root)
dataset3 = PairedDataset(TstImgDataset, img_root)
Expand Down

0 comments on commit 10c6dcb

Please sign in to comment.