Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/k/l/klustaviewa-HEAD/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Test impossible previous.
    assert w.previous_candidate() == w.current_candidate()
 
    # Check next/previous.
    c0 = w.next_candidate()
    c1 = w.next_candidate()
    assert w.previous_candidate() == c0
    c = w.current_candidate()
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    assert w.next_candidate() == c
 

src/k/l/klustaviewa-0.2.1/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Test impossible previous.
    assert w.previous_candidate() == w.current_candidate()
 
    # Check next/previous.
    c0 = w.next_candidate()
    c1 = w.next_candidate()
    assert w.previous_candidate() == c0
    c = w.current_candidate()
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    assert w.next_candidate() == c