Skip to content
Permalink
Browse files

refactor out

  • Loading branch information...
root
root committed Dec 27, 2013
1 parent d752ab6 commit 894cb9b8141423da99dfa2916e9804664edd9fa8
Showing with 3 additions and 5 deletions.
  1. +0 −2 rpitc/io/out.py
  2. +3 −3 tests/test_out.py
@@ -27,5 +27,3 @@ def toggle(self):
else:
self.off()

def trigger(self):
self.toggle()
@@ -26,11 +26,11 @@ def test_off(self):
assert self.out.status == IO.OFF


def test_trigger(self):
def test_toggle(self):
self.out.off()

self.out.trigger()
self.out.toggle()
assert self.out.status == IO.ON

self.out.trigger()
self.out.toggle()
assert self.out.status == IO.OFF

0 comments on commit 894cb9b

Please sign in to comment.
You can’t perform that action at this time.