def test_indoor_outdoor():
    assert (device.indoor is True)
    device.indoor = False
    assert (device.indoor is False)
def test_indoor_outdoor():
    assert (device.indoor is True)
    device.indoor = False
    assert (device.indoor is False)