def test_watchdog():
    assert (device.watchdog == 2)
    for level in range(11):
        device.watchdog = level
        assert (device.watchdog == level)
def test_watchdog():
    assert (device.watchdog == 2)
    for level in range(11):
        device.watchdog = level
        assert (device.watchdog == level)