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

All Samples(12)  |  Call(12)  |  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.
    w.update_candidates()
 
    cluster = w.current_candidate()
 
    # Simulate a merge: target and cluster ==> cluster_new.
    assert w.current_target() == cluster_new
 
    c = w.current_candidate()
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    w.update_candidates()
 
    cluster0 = w.current_candidate()
    cluster1 = w.next_candidate()
    cluster2 = w.next_candidate()

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.
    w.update_candidates()
 
    cluster = w.current_candidate()
 
    # Simulate a merge: target and cluster ==> cluster_new.
    assert w.current_target() == cluster_new
 
    c = w.current_candidate()
    assert c is not None
    assert w.previous_candidate() == w.current_candidate()
    w.update_candidates()
 
    cluster0 = w.current_candidate()
    cluster1 = w.next_candidate()
    cluster2 = w.next_candidate()