uploader.py 372 B

1234567891011121314151617
  1. # -*- coding: utf-8 -*-
  2. # Copyright (C) 2015-2016 Peter Magnusson <peter@birchroad.net>
  3. import unittest
  4. from lib import Uploader, __version__
  5. #on which port should the tests be performed
  6. PORT = 'loop://'
  7. #which speed should the tests use
  8. BAUD = 115200
  9. class UploaderTestCase(unittest.TestCase):
  10. def test_initialize(self):
  11. uploader = Uploader(PORT, BAUD)