From b78c746dc02a043da6125d31bcedc39afc876ddd Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 9 Oct 2010 18:34:00 +0200 Subject: refactored tests and suite --- sensors_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sensors_test.py') diff --git a/sensors_test.py b/sensors_test.py index cc30b44..f82e757 100644 --- a/sensors_test.py +++ b/sensors_test.py @@ -9,4 +9,5 @@ class SensorsTest(unittest.TestCase): self.assertTrue(len(sen) >= 1) if __name__ == '__main__': - unittest.main() + suite = unittest.TestLoader().loadTestsFromTestCase(SensorsTest) + unittest.TextTestRunner(verbosity=2).run(suite) -- cgit v1.3.1