Ejemplo n.º 1
0
def test_display_map(client, first_sensor, sensors):
    assert first_sensor is not None

    display_map = Sensor.display_map(client)
    assert display_map is not None

    for sensor in sensors:
        values = [f(sensor) for f in display_map.values()]
        assert values is not None
Ejemplo n.º 2
0
def test_display_map(client, first_sensor, sensors):
    assert first_sensor is not None

    display_map = Sensor.display_map(client)
    assert display_map is not None

    for sensor in sensors:
        values = [f(sensor) for f in display_map.values()]
        assert values is not None