| Collapse |
Failed
|
plotpointings_test
test_select_tsys_field[same-id]
|
Pipeline PR Test 6.7.4 |
< 1 sec |
AssertionError: assert [Field(1, 'helms30', 1, numpy.array([0.0]), {})] == Field(1, 'helms30', 1, numpy.array([0.0]), {})
+ where [Field(1, 'helms30', 1, numpy.array([0.0]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee4e0>, Source(1, 'helms30', {}, {}))
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee4e0>, Source(1, 'helms30', {}, {}), Field(1, 'helms30', 1, numpy.array([0.0]), {}))
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
(8 more lines...)
|
| Collapse |
Failed
|
plotpointings_test
test_select_tsys_field[partial-name]
|
Pipeline PR Test 6.7.4 |
< 1 sec |
AssertionError: assert [Field(1, '24013+0488_OFF_0', 1, numpy.array([232.40403979701932]), {})] == Field(1, '24013+0488_OFF_0', 1, numpy.array([232.40403979701932]), {})
+ where [Field(1, '24013+0488_OFF_0', 1, numpy.array([232.40403979701932]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee480>, Source(1, '24013+0488', {}, {}))
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee480>, Source(1, '24013+0488', {}, {}), Field(1, '24013+0488_OFF_0', 1, numpy.array([232.40403979701932]), {}))
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
(8 more lines...)
|
| Collapse |
Failed
|
plotpointings_test
test_select_tsys_field[same-name]
|
Pipeline PR Test 6.7.4 |
< 1 sec |
AssertionError: assert [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] == Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})
+ where [Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee360>, Source(1, 'NGC_2997', {}, {}))
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbee360>, Source(1, 'NGC_2997', {}, {}), Field(1, 'NGC_2997', 1, numpy.array([2.96e-322]), {}))
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
(8 more lines...)
|
| Collapse |
Failed
|
plotpointings_test
test_select_tsys_field[double-quote-name]
|
Pipeline PR Test 6.7.4 |
< 1 sec |
assert [Field(1, '"S Pav_OFF"', 1, numpy.array([-1.0]), {})] == Field(1, '"S Pav_OFF"', 1, numpy.array([-1.0]), {})
+ where [Field(1, '"S Pav_OFF"', 1, numpy.array([-1.0]), {})] = select_tsys_fields(<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbefc50>, Source(1, '"S Pav"', {}, {}))
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbefc50>, Source(1, '"S Pav"', {}, {}), Field(1, '"S Pav_OFF"', 1, numpy.array([-1.0]), {}))
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
(8 more lines...)
|
| Collapse |
Failed
|
plotpointings_test
test_select_tsys_field[no-valid-tsys-field]
|
Pipeline PR Test 6.7.4 |
< 1 sec |
Failed: DID NOT RAISE <class 'LookupError'>
case = (<pipeline.domain.measurementset.MeasurementSet object at 0x7f7c2bbedc40>, Source(1, 'Jupiter', {}, {}), None)
def test_select_tsys_field(case: tuple[MeasurementSet, Source, Field | None]) -> None:
"""Test select_tsys_field for correct selections."""
ms, source, expected = case
if expected is None:
> with pytest.raises(LookupError):
(3 more lines...)
|