|
@@ -1,9 +1,15 @@
|
|
|
import unittest
|
|
|
from lib import Uploader, __version__
|
|
|
|
|
|
+#on which port should the tests be performed
|
|
|
+PORT = 'loop://'
|
|
|
+
|
|
|
+#which speed should the tests use
|
|
|
+BAUD = 115200
|
|
|
+
|
|
|
class UploaderTestCase(unittest.TestCase):
|
|
|
|
|
|
|
|
|
|
|
|
def test_initialize(self):
|
|
|
- uploader = Uploader()
|
|
|
+ uploader = Uploader(PORT, BAUD)
|