Skip to content

Commit

Permalink
one last line to cover
Browse files Browse the repository at this point in the history
  • Loading branch information
CatherineH committed Jan 19, 2016
1 parent 1801aea commit ea4f159
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions instruments/instruments/tests/test_toptica/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,11 @@ def test_display():
def test_enable():
with expected_protocol(
ik.toptica.TopMode,
["(param-set! \'enable-emission #f)"],
["(param-set! \'enable-emission #f)\n>"],
["(param-ref \'emission)", "(param-set! \'enable-emission #f)"],
["(param-ref \'emission)\n>#f\n", "(param-set! \'enable-emission #f)\n>"],
sep="\n"
) as tm:
assert tm.enable == False
tm.enable = False


Expand Down

0 comments on commit ea4f159

Please sign in to comment.