Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tuomas2 committed Dec 11, 2015
1 parent c145749 commit 13835db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_actuator.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ def test_back_and_forth_on_activate_w_safety_delay(mysys):
def test_back_and_forth_on_update(mysys):
assert mysys.act.status == LOW
mysys.prog.active_condition = Value(True)
mysys.flush()
assert mysys.act.status == HIGH
mysys.prog.update_condition = Value(True)
mysys.prog.on_update = SetStatus(mysys.act, mysys.sens)
mysys.sens.set_status(True)
mysys.sens.set_status(False)
mysys.flush()
assert mysys.act.status == 0.0

Expand Down

0 comments on commit 13835db

Please sign in to comment.