From d7265e672035c29b486929caf49d5a9246421d8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 15 Nov 2018 23:52:39 +0000 Subject: tests: simplify and cleanup. * Remove the __main__ blocks as the tests should not be executable by themselves. * Use absltest everywhere instead of a mixture of unittest/absltest (via parameterized). * Only modify import path once. * Cleanup pylint warnings, by disabling those that are not useful, and fixing those that are. --- test/test_otultraeasy.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'test/test_otultraeasy.py') diff --git a/test/test_otultraeasy.py b/test/test_otultraeasy.py index 6d802db..2e1b093 100644 --- a/test/test_otultraeasy.py +++ b/test/test_otultraeasy.py @@ -25,6 +25,3 @@ class ConstructTest(absltest.TestCase): b'\x02\x09\x03\x05\x0d\x02\x03\x08\x9f', otultraeasy._make_packet( b'\x05\x0d\x02', True, True, False, False)) - -if __name__ == '__main__': - absltest.main() -- cgit v1.2.3