summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gpiotest/writer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpiotest/writer.py b/gpiotest/writer.py
index 51c4b5b..7a2db2f 100644
--- a/gpiotest/writer.py
+++ b/gpiotest/writer.py
@@ -31,7 +31,7 @@ class GpioTestCase(unittest.TestCase):
self.assertEqual(self.input.read(), 1)
def test_gpio_write_low(self):
- output.write(0)
+ self.output.write(0)
sleep(10)
print "Second read input value (expecting 0): %s" % self.input.read()
self.assertEqual(self.input.read(), 0)