

@mock_kernel_modules
def test_init_first_sensor(self):
    sensor_id = create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18B20)
    sensor = W1ThermSensor()
    sensor.should.be.a(W1ThermSensor)
    sensor.type.should.be.equal(W1ThermSensor.THERM_SENSOR_DS18B20)
    sensor_id.id.should.be.equal(sensor_id)

dataset/ETHPy150Open timofurrer/w1thermsensor/test/test_core.py W1ThermSensorTest.test_init_first_sensor/VarMisuse@54/99 `sensor`->`sensor_id`