Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bliss
python-handel
Commits
6dd56c72
Commit
6dd56c72
authored
Oct 23, 2017
by
Vincent Michel
Browse files
Fix the tests
parent
d8c7d0da
Pipeline
#1254
passed with stages
in 2 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/test_interface.py
View file @
6dd56c72
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment