Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
LOFAR Station Client
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LOFAR2.0
LOFAR Station Client
Commits
3c060cb1
Commit
3c060cb1
authored
2 years ago
by
Taya Snijder
Browse files
Options
Downloads
Patches
Plain Diff
L2SS-826
fixed mock.patch path after changing file names
parent
94d1dc32
No related branches found
No related tags found
1 merge request
!22
Resolve L2SS-826 "Create central observation controller"
Pipeline
#39954
passed
2 years ago
Stage: image
Stage: lint
Stage: test
Stage: package
Stage: integration
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/observation/test_multi_station_observation.py
+5
-5
5 additions, 5 deletions
tests/observation/test_multi_station_observation.py
with
5 additions
and
5 deletions
tests/observation/test_multi_station_observation.py
+
5
−
5
View file @
3c060cb1
...
...
@@ -68,7 +68,7 @@ class TestMultiStationObservation(base.TestCase):
self
.
station_mocks
[
2
].
get_host
.
return_value
=
"
host3
"
@mock.patch
(
"
lofar_station_client.observation.
M
ulti
S
tation
O
bservation.Station
"
,
"
lofar_station_client.observation.
m
ulti
_s
tation
_o
bservation.Station
"
,
autospec
=
True
,
)
def
test_start
(
self
,
M_station
):
...
...
@@ -81,7 +81,7 @@ class TestMultiStationObservation(base.TestCase):
self
.
assertEqual
(
M_station
.
call_count
,
3
)
@mock.patch
(
"
lofar_station_client.observation.
M
ulti
S
tation
O
bservation.Station
"
,
"
lofar_station_client.observation.
m
ulti
_s
tation
_o
bservation.Station
"
,
autospec
=
True
,
)
def
test_abort
(
self
,
M_station
):
...
...
@@ -94,7 +94,7 @@ class TestMultiStationObservation(base.TestCase):
self
.
assertEqual
(
M_station
.
call_count
,
3
)
@mock.patch
(
"
lofar_station_client.observation.
M
ulti
S
tation
O
bservation.Station
"
,
"
lofar_station_client.observation.
m
ulti
_s
tation
_o
bservation.Station
"
,
autospec
=
True
,
)
def
test_proxies
(
self
,
M_station
):
...
...
@@ -113,7 +113,7 @@ class TestMultiStationObservation(base.TestCase):
self
.
assertEqual
(
expected
,
results
)
@mock.patch
(
"
lofar_station_client.observation.
M
ulti
S
tation
O
bservation.Station
"
,
"
lofar_station_client.observation.
m
ulti
_s
tation
_o
bservation.Station
"
,
autospec
=
True
,
)
def
test_is_running
(
self
,
M_station
):
...
...
@@ -127,7 +127,7 @@ class TestMultiStationObservation(base.TestCase):
self
.
assertEqual
(
expected
,
results
)
@mock.patch
(
"
lofar_station_client.observation.
M
ulti
S
tation
O
bservation.Station
"
,
"
lofar_station_client.observation.
m
ulti
_s
tation
_o
bservation.Station
"
,
autospec
=
True
,
)
def
test_is_connected
(
self
,
M_station
):
...
...
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