Skip to content
Snippets Groups Projects
Commit 3c060cb1 authored by Taya Snijder's avatar Taya Snijder
Browse files

L2SS-826 fixed mock.patch path after changing file names

parent 94d1dc32
No related branches found
No related tags found
1 merge request!22Resolve L2SS-826 "Create central observation controller"
Pipeline #39954 passed
......@@ -68,7 +68,7 @@ class TestMultiStationObservation(base.TestCase):
self.station_mocks[2].get_host.return_value = "host3"
@mock.patch(
"lofar_station_client.observation.MultiStationObservation.Station",
"lofar_station_client.observation.multi_station_observation.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.MultiStationObservation.Station",
"lofar_station_client.observation.multi_station_observation.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.MultiStationObservation.Station",
"lofar_station_client.observation.multi_station_observation.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.MultiStationObservation.Station",
"lofar_station_client.observation.multi_station_observation.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.MultiStationObservation.Station",
"lofar_station_client.observation.multi_station_observation.Station",
autospec=True,
)
def test_is_connected(self, M_station):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment