Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tango
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Merge requests
!388
L2SS-847
: add custom tango host in statistics writer
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
L2SS-847
: add custom tango host in statistics writer
L2SS-847-custom-tango-host-in-stats-writer
into
master
Overview
0
Commits
2
Pipelines
0
Changes
2
Merged
Stefano Di Frischia
requested to merge
L2SS-847-custom-tango-host-in-stats-writer
into
master
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
2
Closes
L2SS-847
0
0
Merge request reports
Compare
master
version 1
88e6aa14
2 years ago
master (base)
and
latest version
latest version
063d6429
2 commits,
2 years ago
version 1
88e6aa14
1 commit,
2 years ago
2 files
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
tangostationcontrol/tangostationcontrol/integration_test/default/statistics_writer/test_statistics_writer_sst.py
+
4
−
4
View file @ 063d6429
Edit in single-file editor
Open in Web IDE
Show full file
@@ -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
.
assert
List
Equal
(
stat
.
rcu_attenuator_dB
.
tolist
(),
[
0
]
*
96
)
self
.
assert
List
Equal
(
stat
.
rcu_band_select
.
tolist
(),
[
0
]
*
96
)
self
.
assert
List
Equal
(
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