From afcf76adfacf6ffbbdc92e9ec94db111d6e6b54f Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Sat, 9 Oct 2010 18:21:01 +0200 Subject: added sensors unit tests --- sensors_test.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sensors_test.py (limited to 'sensors_test.py') diff --git a/sensors_test.py b/sensors_test.py new file mode 100644 index 0000000..cc30b44 --- /dev/null +++ b/sensors_test.py @@ -0,0 +1,12 @@ +import unittest + +import sensors + +class SensorsTest(unittest.TestCase): + + def test_get_sensors(self): + sen = sensors.get_sensors() + self.assertTrue(len(sen) >= 1) + +if __name__ == '__main__': + unittest.main() -- cgit v1.3.1