Skip to content
Snippets Groups Projects
Commit 47611c37 authored by Corné Lukken's avatar Corné Lukken
Browse files

L2SS-876: Remove old tests

parent fc83551f
No related branches found
No related tags found
1 merge request!408L2SS-876: Get current RECV values before updating through antennafield
...@@ -441,31 +441,3 @@ class TestAntennafieldDevice(device_base.DeviceTestCase): ...@@ -441,31 +441,3 @@ class TestAntennafieldDevice(device_base.DeviceTestCase):
with DeviceTestContext(antennafield.AntennaField, properties={**self.AT_PROPERTIES, **antenna_properties}, process=True) as proxy: with DeviceTestContext(antennafield.AntennaField, properties={**self.AT_PROPERTIES, **antenna_properties}, process=True) as proxy:
for i in range(len(antenna_names)): for i in range(len(antenna_names)):
self.assertTrue(proxy.Antenna_Names_R[i]==f"C{i}") 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
# )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment