Skip to content

Commit

Permalink
Add test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
rosteen committed Sep 5, 2024
1 parent 7474e49 commit c51f4c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jdaviz/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,12 @@ def spectrum1d_cube_custom_fluxunit():
return _create_spectrum1d_cube_with_fluxunit


@pytest.fixture
def spectrum1d_cube_fluxunit_jy_per_steradian():
return _create_spectrum1d_cube_with_fluxunit(fluxunit=u.Jy/u.sr, shape=(10, 4, 5),
with_uncerts=True)


@pytest.fixture
def mos_spectrum1d(mos_spectrum2d):
'''
Expand Down

0 comments on commit c51f4c7

Please sign in to comment.