-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Changing the assert to LOW will fix this? This test assumes that some pins are plugged?
Details below
=================================================== FAILURES ==========================================================================
_____________________________________________________________________________ RaspberryBasics.test_jumpwire _____________________________________________________________________________
self = <pingo.rpi.tests.test_rpi.RaspberryBasics testMethod=test_jumpwire>
def test_jumpwire(self):
''' Wire this DigitalPin directly into VDD '''
pin = self.board.pins[self.digital_input_pin_number]
pin.mode = pingo.IN
output = pin.stateassert output == pingo.HIGH
E AssertionError: assert 'LOW' == 'HIGH'
E - LOW
E + HIGH
pingo/test/level0/cases.py:64: AssertionError
Reactions are currently unavailable