def test_heat_set_invalid(self):
        envcontroller = dummy.DummyEnvController()
        with self.assertRaises(PercentageError):
            envcontroller.set_heater_level(101)
Dummy device raises a PercentageError on invalid heating value.
dataset/ETHPy150Open amorphic/braubuddy/braubuddy/tests/envcontroller/test_dummy.py/TestDummy.test_heat_set_invalid