From c6d94f57e9c88a311c6d8f50b77142d8e7b79d83 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Sun, 10 Apr 2022 17:17:48 +0200
Subject: [PATCH] L2SS-685: Lofar views return ints for booleans

---
 .../integration_test/default/toolkit/test_archiver.py         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py b/tangostationcontrol/tangostationcontrol/integration_test/default/toolkit/test_archiver.py
index ebe7a59e5..091db2c25 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
-- 
GitLab