Commit 6dd56c72 authored by Vincent Michel's avatar Vincent Michel

Fix the tests

parent d8c7d0da
Pipeline #1254 passed with stages
in 2 minutes and 35 seconds
......@@ -53,15 +53,6 @@ def test_exit(interface):
# Detectors
def test_new_detector(interface):
m = interface.handel.xiaNewDetector
m.return_value = 0
assert interface.new_detector('somealias') is None
m.assert_called_once_with(b'somealias')
# Make sure errors have been checked
interface.check_error.assert_called_once_with(0)
def test_get_num_detectors(interface):
m = interface.handel.xiaGetNumDetectors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment