from indra.sources.tas import process_from_web


def test_processor():
    tp = process_from_web(affinity_class_limit=10)
    assert tp
    assert tp.statements
    num_stmts = len(tp.statements)
    # This is the total number of statements about human genes
    assert num_stmts == 51722, num_stmts
    assert all(len(s.evidence) == 1 for s in tp.statements), \
        "Some statements lack evidence, or have extra evidence."

from indra.sources.tas import process_from_web


def test_processor():
    tp = process_from_web(affinity_class_limit=10)
    assert tp
    assert tp.statements
    num_stmts = len(tp.statements)
    # This is the total number of statements about human genes
    assert num_stmts == 1601159, num_stmts
    assert all(len(s.evidence) == 1 for s in tp.statements), \
        "Some statements lack evidence, or have extra evidence."

Update expected number of tas statements in test
Update expected number of tas statements in test
