50e4dca9e0a4fb7e88ae537e38aca7ead4f9b3f1,shell/tests/test_shell.py,,test_bql_select,#Any#,152

Before Change


               "        Albany GA\r\n" +\
               "        Albany NY\r\n"
    c.expectprompt()
    assert not an_error_probably_happened(c.before)
    assert checkstr in c.before


def test_guess(spawntable):

After Change


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


def test_guess(spawntable):
    table, c = spawntable
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: probcomp/bayeslite
Commit Name: 50e4dca9e0a4fb7e88ae537e38aca7ead4f9b3f1
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: 50e4dca9e0a4fb7e88ae537e38aca7ead4f9b3f1
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: 50e4dca9e0a4fb7e88ae537e38aca7ead4f9b3f1
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_hook


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