Skip to content

Commit

Permalink
Add a test to check that flat dataset repr doesn't bork
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarDrew committed Dec 9, 2024
1 parent e3f931c commit faa72a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dkist/dataset/tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def test_repr(dataset, dataset_3d):
assert str(dataset_3d.data) in r


@pytest.mark.accept_cli_dataset
def test_flat_repr(large_tiled_dataset):
r = repr(large_tiled_dataset.flat)


@pytest.mark.accept_cli_dataset
def test_wcs_roundtrip(dataset):
p = [1*u.pixel] * dataset.wcs.pixel_n_dim
Expand Down

0 comments on commit faa72a3

Please sign in to comment.