mirror of
https://github.com/thearn/Python-Arduino-Command-API.git
synced 2026-01-11 07:28:02 -05:00
Setup logging during testing.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import logging
|
||||
import unittest
|
||||
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
class MockSerial(object):
|
||||
|
||||
def __init__(self, baud, port, timeout=None):
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import logging
|
||||
import unittest
|
||||
import time
|
||||
|
||||
@@ -11,6 +12,9 @@ should at least be maintained here.
|
||||
"""
|
||||
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
class TestBasics(unittest.TestCase):
|
||||
|
||||
def test_find(self):
|
||||
|
||||
Reference in New Issue
Block a user