Setup logging during testing.

This commit is contained in:
Ian Joseph Wilson
2013-05-31 14:25:22 -07:00
parent f975f466ee
commit 5bafbe7a62
2 changed files with 8 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
import logging
import unittest
logging.basicConfig(level=logging.DEBUG)
class MockSerial(object):
def __init__(self, baud, port, timeout=None):

View File

@@ -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):