def test_power_down():
    assert (device.power_down is False)
    device.power_down = True
    assert (device.power_down is True)
    device.power_down = False
    assert (device.power_down is False)
def test_power_down():
    assert (device.power_down is False)
    device.power_down = True
    assert (device.power_down is True)
    device.power_down = False
    assert (device.power_down is False)