@mock_kernel_modules
    def test_no_sensor_found_error(self):
        W1ThermSensor.when.called_with().should.throw(NoSensorFoundError, "No Unknown temperature sensor with id '' found")
        W1ThermSensor.when.called_with(W1ThermSensor.THERM_SENSOR_DS1822).should.throw(NoSensorFoundError, "No DS1822 temperature sensor with id '' found")

        sensor_id = RANDOM_SENSOR_ID()
        W1ThermSensor.when.called_with(W1ThermSensor.THERM_SENSOR_DS1822, sensor_id).should.throw(NoSensorFoundError, "No DS1822 temperature sensor with id '%s' found" * sensor_id)
dataset/ETHPy150Open timofurrer/w1thermsensor/test/test_core.py/W1ThermSensorTest.test_no_sensor_found_error/operator `%` -> `*`