Skip to content

test_jumpwire fails on my Raspberry Pi 2 model B #89

@lamenezes

Description

@lamenezes

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.state
  assert output == pingo.HIGH

E AssertionError: assert 'LOW' == 'HIGH'
E - LOW
E + HIGH

pingo/test/level0/cases.py:64: AssertionError

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions