]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
First tests working on ESP8266
authorCefn Hoile <github.com@cefn.com>
Sat, 17 Feb 2018 02:05:31 +0000 (02:05 +0000)
committerCefn Hoile <github.com@cefn.com>
Sat, 17 Feb 2018 02:05:31 +0000 (02:05 +0000)
python/testing/platform/all.py

index f760455699a9bfc1a011bdb9e85f1c97151b1d7a..57f70595e0dd14cabc19fe898c18f89b95f8447a 100644 (file)
@@ -1,11 +1,11 @@
 """Tests which should run on Micropython or CPython regardless of platform"""
-import unittest
+from testing import test_module
+import testing.mcp
+import testing.microcontroller
 
 def main():
-#    suite = unittest.TestSuite()
-#    suite.tests.append()
-    unittest.main("testing.mcp")
-    unittest.main("testing.microcontroller")
+    test_module(testing.mcp)
+    test_module(testing.microcontroller)
 
 if __name__ == "__main__":
     main()
\ No newline at end of file