Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/output-product-frameid' into fix…
Browse files Browse the repository at this point in the history
…/aperture-phot-diameter
  • Loading branch information
cmccully committed Apr 23, 2024
2 parents 4662bb6 + e25de49 commit 55c3a50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions banzai/tests/test_frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ def test_frame_to_db_record():
'CONFMODE': 'full_frame'}, name='SCI')]
test_frame = LCOCalibrationFrame(hdu_list=hdu_list, file_path='/foo/bar')
test_frame.is_bad = False
test_frame.frame_id = 1234
test_frame.instrument = MagicMock(id=7)
mock_data_product = MagicMock(filename='test.fits.fz', filepath='/path/to/test/test.fits.fz')
mock_data_product = MagicMock(filename='test.fits.fz', filepath='/path/to/test/test.fits.fz', frame_id=1234)
db_record = test_frame.to_db_record(mock_data_product)

assert type(db_record) == CalibrationImage
Expand Down

0 comments on commit 55c3a50

Please sign in to comment.