def setUp(self): self.sensor_controller = SensorController(None)
class TestSensorController(unittest.TestCase): def setUp(self): self.sensor_controller = SensorController(None) def test_add_sensor(self): self.sensor_controller.add_sensor(None) def test_remove_sensor(self): self.sensor_controller.add_sensor(None) self.sensor_controller.remove_sensor(None) def test_handle_event(self): self.sensor_controller.handle_event(None) def test_poll_sensor(self): self.sensor_controller.poll_sensor(None) def test_handle_sensor_input(self): self.sensor_controller.handle_sensor_input(None) def test_check_sensor_status(self): self.sensor_controller.check_sensor_status(None)