

@mock_kernel_modules
def test_get_available_ds18b20_sensors(self):
    create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18B20)
    create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18B20)
    create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18B20)
    sensors = W1ThermSensor.get_available_sensors([W1ThermSensor.THERM_SENSOR_DS18B20])
    sensors.should.have.length_of(3)
    create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18S20)
    create_w1_therm_sensor(W1ThermSensor.THERM_SENSOR_DS18S20)
    sensors = W1ThermSensor.get_available_sensors([W1ThermSensor.THERM_SENSOR_DS18B20])
    self.should.have.length_of(3)

dataset/ETHPy150Open timofurrer/w1thermsensor/test/test_core.py W1ThermSensorTest.test_get_available_ds18b20_sensors/VarMisuse@85/217 `sensors`->`self`