diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py b/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py index ebe7a59e57632b107ef1eaa61fb9e36de56b168b..091db2c253e5e163167afc204170d89cf087c61a 100644 --- a/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py +++ b/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py @@ -63,7 +63,7 @@ class TestArchiver(BaseIntegrationTestCase): """ polling_period=1000 archive_event_period=3000 - attr_fullname = 'stat/recv/1/recvtr_translator_busy_r' # boolean + attr_fullname = 'stat/recv/1/recvtr_translator_busy_r' # boolean, but lofar view returns int self.archiver.add_attribute_to_archiver(attr_fullname, polling_period, archive_event_period) time.sleep(3) # Test if the attribute has been correctly added to event subscriber @@ -78,7 +78,7 @@ class TestArchiver(BaseIntegrationTestCase): self.assertEqual('stat/recv/1',item.device) # column device self.assertEqual('recvtr_translator_busy_r',item.name) # column attribute self.assertEqual(datetime,type(item.data_time)) # column datetime - self.assertEqual(bool,type(item.value)) # column value + self.assertEqual(int,type(item.value)) # column value """ # Remove attribute at the end of the test