Skip to content
Snippets Groups Projects

L2SS-847: add custom tango host in statistics writer

Merged Stefano Di Frischia requested to merge L2SS-847-custom-tango-host-in-stats-writer into master
2 files
+ 6
6
Compare changes
  • Side-by-side
  • Inline

Files

@@ -68,10 +68,10 @@ class TestStatisticsWriterSST(BaseIntegrationTestCase):
stat = stat_parser.get_statistic('2021-09-20T12:17:40.000+00:00') # same as stat_parser.statistics[0]
self.assertIsNotNone(stat)
self.assertEqual(121, stat.data_id_signal_input_index)
# Test RECV attributes
self.assertListEqual(stat.rcu_attenuator_dB.tolist(), [0] * 96)
self.assertListEqual(stat.rcu_band_select.tolist(), [0] * 96)
self.assertListEqual(stat.rcu_dth_on.tolist(), [False] * 96)
# RECV attributes are not present since the stats-writer is not connecting to any host
self.assertEqual(stat.rcu_attenuator_dB.tolist(), None)
self.assertEqual(stat.rcu_band_select.tolist(), None)
self.assertEqual(stat.rcu_dth_on.tolist(), None)
def test_no_tango_SST_statistics(self):
Loading