diff --git a/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py b/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py index 2a4debea84c6f4097c90270e98c4207b99ffe342..b033c60433c060161d748a52b6fd3f1fcc5a6ae2 100644 --- a/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py +++ b/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py @@ -441,31 +441,3 @@ class TestAntennafieldDevice(device_base.DeviceTestCase): with DeviceTestContext(antennafield.AntennaField, properties={**self.AT_PROPERTIES, **antenna_properties}, process=True) as proxy: for i in range(len(antenna_names)): self.assertTrue(proxy.Antenna_Names_R[i]==f"C{i}") - - # @mock.patch.object(antennafield, "DeviceProxy") - # def test_set_mapped_attribute(self, m_proxy): - # """Verify set_mapped_attribute only modifies controlled inputs""" - # - # antenna_properties = { - # 'RECV_devices': ['stat/RECV/1'], - # } - # - # data = numpy.array([[False] * 32] * 96) - # - # m_proxy.return_value = mock.Mock( - # read_attribute=mock.Mock( - # return_value=mock.Mock(value=data) - # ) - # ) - # - # with DeviceTestContext( - # antennafield.AntennaField, process=False, - # properties={**self.AT_PROPERTIES, **antenna_properties} - # ) as proxy: - # proxy.boot() - # proxy.write_attribute("HBAT_PWR_on_RW", [[False] * 32] * 48) - # - # numpy.testing.assert_equal( - # m_proxy.return_value.write_attribute.call_args.args[1], - # data - # )