1
1
mirror of https://github.com/dbcli/pgcli.git synced 2024-10-06 02:07:53 +03:00

Mark the multicolumn sub-select test to xfail.

This commit is contained in:
Amjith Ramanujam 2015-01-04 23:23:48 -08:00
parent 5d1b19b6c3
commit 4e862015f8

View File

@ -1,5 +1,5 @@
from pgcli.packages.sqlcompletion import suggest_type
import pytest
def test_select_suggests_cols_with_table_scope():
suggestion = suggest_type('SELECT FROM tabl', 'SELECT ')
@ -88,6 +88,7 @@ def test_sub_select_col_name_completion():
'SELECT * FROM (SELECT ')
assert suggestion == ('columns-and-functions', ['abc'])
@pytest.mark.xfail
def test_sub_select_multiple_col_name_completion():
suggestion = suggest_type('SELECT * FROM (SELECT a, FROM abc',
'SELECT * FROM (SELECT a, ')