From 47611c37632fd5513296d487fcc6aafce67ac31d Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Thu, 8 Sep 2022 15:42:37 +0000
Subject: [PATCH] L2SS-876: Remove old tests

---
 .../test/devices/test_antennafield_device.py  | 28 -------------------
 1 file changed, 28 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py b/tangostationcontrol/tangostationcontrol/test/devices/test_antennafield_device.py
index 2a4debea8..b033c6043 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
-    #         )
-- 
GitLab