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

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

src/k/l/klustaviewa-0.2.1/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Check next/previous.
    c0 = w.next_candidate()
    c1 = w.next_candidate()
    assert w.previous_candidate() == c0
    assert w.next_candidate() == c1
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    assert w.next_candidate() == c
 
    for _ in xrange(nclusters):
        c = w.next_candidate()

src/k/l/klustaviewa-HEAD/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Check next/previous.
    c0 = w.next_candidate()
    c1 = w.next_candidate()
    assert w.previous_candidate() == c0
    assert w.next_candidate() == c1
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    assert w.next_candidate() == c
 
    for _ in xrange(nclusters):
        c = w.next_candidate()