407b14f1959b1deae3328de8a6da60b5d62c47e3,shell/tests/test_shell.py,,test_bql_select,#Any#,167

Before Change


        "        Albany NY\r\n"
        "bayeslite> " % (query,)
    )
    assert c.before == ""


def test_guess(spawntable):
    table, c = spawntable

After Change


    table, c = spawntable
    c.sendexpectcmd("SELECT name FROM %s ORDER BY name ASC LIMIT 5;" %
        (table,))
    c.expect_lines([
        "             NAME",
        "-----------------",
        "       Abilene TX",
        "         Akron OH",
        "Alameda County CA",
        "        Albany GA",
        "        Albany NY",
    ])
    c.expect_prompt()


def test_guess(spawntable):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: 407b14f1959b1deae3328de8a6da60b5d62c47e3
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_bql_select


Project Name: probcomp/bayeslite
Commit Name: 407b14f1959b1deae3328de8a6da60b5d62c47e3
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_sql


Project Name: probcomp/bayeslite
Commit Name: 407b14f1959b1deae3328de8a6da60b5d62c47e3
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: spawnbdb


Project Name: probcomp/bayeslite
Commit Name: 407b14f1959b1deae3328de8a6da60b5d62c47e3
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_describe_column_with_generator