예제 #1
0
def test_chrony_discover_error_without_ntp():
    assert list(chrony.discover_chrony({"error": "some error"}, []))
예제 #2
0
def test_chrony_discover_skip_on_error_with_ntp():
    assert not list(
        chrony.discover_chrony({"error": "some error"}, "something trueish"))