80475ccb323e29d8537965f4522307ac3a949aa8,shell/tests/test_shell.py,,test_bql_select,#Any#,157
Before 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
After Change
" Albany NY\r\n"
"bayeslite> " % (query,)
)
assert c.before == ""
def test_guess(spawntable):
table, c = spawntable
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: probcomp/bayeslite
Commit Name: 80475ccb323e29d8537965f4522307ac3a949aa8
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: 80475ccb323e29d8537965f4522307ac3a949aa8
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: 80475ccb323e29d8537965f4522307ac3a949aa8
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_python_expression
Project Name: probcomp/bayeslite
Commit Name: 80475ccb323e29d8537965f4522307ac3a949aa8
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: 80475ccb323e29d8537965f4522307ac3a949aa8
Time: 2015-04-27
Author: riastradh+probcomp@csail.mit.edu
File Name: shell/tests/test_shell.py
Class Name:
Method Name: test_hook