summaryrefslogtreecommitdiffstats
path: root/test/test_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_common.py')
-rw-r--r--test/test_common.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/test/test_common.py b/test/test_common.py
index 4b062ac..b31d55c 100644
--- a/test/test_common.py
+++ b/test/test_common.py
@@ -6,15 +6,12 @@ __email__ = 'flameeyes@flameeyes.eu'
__copyright__ = 'Copyright © 2013-2018, Diego Elio Pettenò'
__license__ = 'MIT'
+# pylint: disable=protected-access,missing-docstring
+
import datetime
-import os
-import sys
-import unittest
from absl.testing import parameterized
-sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
-
from glucometerutils import common
@@ -123,7 +120,3 @@ class TestMeterInfo(parameterized.TestCase):
def test_meter_info(self, kwargs_dict, expected_fragment):
info = common.MeterInfo(self.id(), **kwargs_dict)
self.assertIn(expected_fragment, str(info))
-
-
-if __name__ == '__main__':
- unittest.main()