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

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

src/k/l/klustaviewa-0.2.1/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Check the first target cluster.
    assert w.current_target() == best_cluster
 
    # Test impossible previous.
 
    # Check skip target.
    t0 = w.current_target()
    w.skip_target()
    w.update_candidates()
    t1 = w.current_target()
    w.update_candidates(cluster_new)
 
    assert w.current_target() == cluster_new
 
    c = w.current_candidate()
    w.update_candidates(target)
 
    assert w.current_target() == target
    assert w.current_candidate() not in (cluster0, cluster1, cluster2)
 

src/k/l/klustaviewa-HEAD/klustaviewa/wizard/tests/test_wizard.py   klustaviewa(Download)
 
    # Check the first target cluster.
    assert w.current_target() == best_cluster
 
    # Test impossible previous.
 
    # Check skip target.
    t0 = w.current_target()
    w.skip_target()
    w.update_candidates()
    t1 = w.current_target()
    w.update_candidates(cluster_new)
 
    assert w.current_target() == cluster_new
 
    c = w.current_candidate()
    w.update_candidates(target)
 
    assert w.current_target() == target
    assert w.current_candidate() not in (cluster0, cluster1, cluster2)