Skip to content
Snippets Groups Projects
Commit 87ff050f authored by Taya Snijder's avatar Taya Snijder
Browse files

corrected lines

parent 621588f5
No related branches found
No related tags found
1 merge request!470Resolve L2SS-1032 "Use constants in tests"
......@@ -71,12 +71,12 @@ class TestDeviceTemperatureManager(AbstractTestBases.TestDeviceBase):
self.assertEqual(self.proxy.get_property('Shutdown_Device_List')['Shutdown_Device_List'][0], "STAT/SDP/1")
# Here we trigger our own change event by just using an RW attribute
self.recv_proxy.HBAT_LED_on_RW = [[False] * N_elements, N_pol] * N_rcu * N_rcu_inp
self.recv_proxy.HBAT_LED_on_RW = [[False] * N_elements * N_pol] * N_rcu * N_rcu_inp
time.sleep(2)
self.assertFalse(self.proxy.is_alarming_R)
self.recv_proxy.HBAT_LED_on_RW = [[True] * N_elements, N_pol] * N_rcu * N_rcu_inp
self.recv_proxy.HBAT_LED_on_RW = [[True] * N_elements * N_pol] * N_rcu * N_rcu_inp
time.sleep(2)
# the TEMP_MANAGER_is_alarming_R should now be True, since it should have detected the temperature alarm.
......
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