mirror of
https://github.com/thearn/Python-Arduino-Command-API.git
synced 2026-04-24 03:00:20 -04:00
added basic test structure
This commit is contained in:
13
tests/test_main.py
Normal file
13
tests/test_main.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import unittest
|
||||
from Arduino import Arduino
|
||||
|
||||
|
||||
class TestConnect(unittest.TestCase):
|
||||
|
||||
def test_find(self):
|
||||
board = Arduino('9600')
|
||||
self.assertIsNotNone(board.port)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user