예제 #1
0
def test_watching(c: Client) -> None:
    assert c.watching() == ["default"]
    c.watch("another")
    assert set(c.watching()) == {"default", "another"}
예제 #2
0
def test_watching(c: Client) -> None:
    assert c.watching() == ['default']
    c.watch('another')
    assert set(c.watching()) == {'default', 'another'}