]> Repositories - Adafruit_Blinka-hackapet.git/blobdiff - python/testing/implementation/all/microcontroller.py
Added interactive await behaviour for real-world triggers. Workaround for stack-busti...
[Adafruit_Blinka-hackapet.git] / python / testing / implementation / all / microcontroller.py
index 4349c41fb5293734a8404fd2fd8ebaecb76d6bfb..3245bc98e9939de24ebfaf8749999ceebf6fdda0 100644 (file)
@@ -6,8 +6,8 @@ class TestMicrocontrollerModule(unittest.TestCase):
     def test_pins_exist(self):
         """The microcontroller module should contain pin references"""
         import microcontroller
-        import microcontroller.pin as pin
-        from testing.platform import pin_count
+        from microcontroller import pin
+        from testing.board import pin_count
         entries = [getattr(pin, key) for key in dir(pin)]
         # is this filter line needed? any other types valid in pin module?
         entries = list(filter(lambda val: type(val) is microcontroller.Pin, entries))