Skip to content
Snippets Groups Projects
Commit 0ec9d19c authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

SW-818: Merge branch 'LOFAR-Release-4_0' into 'master'

Lofar release 4 0

See merge request !66
parents 00f94fcf 147ebc68
No related branches found
No related tags found
1 merge request!66Lofar release 4 0
...@@ -125,6 +125,10 @@ class TestALERTHandler(unittest.TestCase): ...@@ -125,6 +125,10 @@ class TestALERTHandler(unittest.TestCase):
self.addCleanup(popen_patcher.stop) self.addCleanup(popen_patcher.stop)
popen_patcher.start() popen_patcher.start()
get_current_stations_patcher = mock.patch('lofar.common.lcu_utils.get_current_stations', return_value=['cs001'])
self.addCleanup(get_current_stations_patcher.stop)
get_current_stations_patcher.start()
def test_valid_voevent_should_invoke_tbb_dump(self): def test_valid_voevent_should_invoke_tbb_dump(self):
with mock.patch('lofar.mac.tbbservice.client.tbbservice_rpc.TBBRPC.do_tbb_subband_dump') as dump, \ with mock.patch('lofar.mac.tbbservice.client.tbbservice_rpc.TBBRPC.do_tbb_subband_dump') as dump, \
mock.patch('lofar.triggerservices.voevent_decider.ALERTDecider') as sciencecheck: mock.patch('lofar.triggerservices.voevent_decider.ALERTDecider') as sciencecheck:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment