def test_raises_an_exection_if_epochs_are_different(mock_images): throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'epoch', '20160102')
def test_raises_an_exection_if_ny_are_different(mock_images): throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'ny', 107)
def test_raises_an_exection_if_ny_are_different(mock_cal, mock_images): mock_cal.return_value = 'test.fits' throws_inhomogeneous_set_exception(BiasSubtractor, None, 'ny', 107)
def test_raises_an_exection_if_ccdsums_are_different(mock_images): throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'ccdsum', '1 1')
def test_raises_an_exection_if_epochs_are_different(mock_cal, mock_images): throws_inhomogeneous_set_exception(BiasSubtractor, None, 'epoch', '20160102')
def test_raises_an_exection_if_ccdsums_are_different(mock_cal, mock_images): throws_inhomogeneous_set_exception(BiasSubtractor, None, 'ccdsum', '1 1')