Skip to content
GitLab
Explore
Sign in
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LOFAR2.0
tango
Commits
cee3349d
Commit
cee3349d
authored
3 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
fixed unit test bug caused by wrong logger statement
parent
25a05c06
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!164
Resolve L2SS-334 "2021 10 21 replace streams with logger"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
devices/test/clients/test_attr_wrapper.py
+1
-1
1 addition, 1 deletion
devices/test/clients/test_attr_wrapper.py
devices/test/clients/test_client.py
+1
-1
1 addition, 1 deletion
devices/test/clients/test_client.py
with
2 additions
and
2 deletions
devices/test/clients/test_attr_wrapper.py
+
1
−
1
View file @
cee3349d
...
...
@@ -31,7 +31,7 @@ str_image_val = [['1','1'],['1','1'],['1','1']]
def
dev_init
(
device
):
device
.
set_state
(
DevState
.
INIT
)
device
.
test_client
=
test_client
(
device
.
Fault
,
device
)
device
.
test_client
=
test_client
(
device
.
Fault
)
for
i
in
device
.
attr_list
():
asyncio
.
run
(
i
.
async_set_comm_client
(
device
.
test_client
))
device
.
test_client
.
start
()
...
...
This diff is collapsed.
Click to expand it.
devices/test/clients/test_client.py
+
1
−
1
View file @
cee3349d
...
...
@@ -52,7 +52,7 @@ class test_client(CommClient):
"""
# as this is an example, just print the annotation
self
.
logger
.
debug
(
"
annotation: {}
"
.
format
(
annotation
))
logger
.
debug
(
"
annotation: {}
"
.
format
(
annotation
))
def
_setup_value_conversion
(
self
,
attribute
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment