示例#1
0
def test_raises_an_exection_if_epochs_are_different(mock_images):
    throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'epoch', '20160102')
示例#2
0
def test_raises_an_exection_if_ny_are_different(mock_images):
    throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'ny', 107)
示例#3
0
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)
示例#4
0
def test_raises_an_exection_if_ccdsums_are_different(mock_images):
    throws_inhomogeneous_set_exception(BiasMaker, FakeContext(), 'ccdsum', '1 1')
示例#5
0
def test_raises_an_exection_if_epochs_are_different(mock_cal, mock_images):
    throws_inhomogeneous_set_exception(BiasSubtractor, None, 'epoch', '20160102')
示例#6
0
def test_raises_an_exection_if_ccdsums_are_different(mock_cal, mock_images):
    throws_inhomogeneous_set_exception(BiasSubtractor, None, 'ccdsum', '1 1')
示例#7
0
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)
示例#8
0
def test_raises_an_exection_if_epochs_are_different(mock_cal, mock_images):
    throws_inhomogeneous_set_exception(BiasSubtractor, None, 'epoch',
                                       '20160102')
示例#9
0
def test_raises_an_exection_if_ccdsums_are_different(mock_cal, mock_images):
    throws_inhomogeneous_set_exception(BiasSubtractor, None, 'ccdsum', '1 1')