summaryrefslogtreecommitdiffstats
path: root/tests/test_smart_completion_public_schema_only.py
diff options
context:
space:
mode:
authorkoljonen <koljonen@outlook.com>2016-05-15 18:05:48 +0200
committerkoljonen <koljonen@outlook.com>2016-05-15 18:05:48 +0200
commit17a2b3a4b7d8dc5f88323b98dc156d6234bf1d1d (patch)
tree7db3344227c8a86d829aaede4120bc24f796eecb /tests/test_smart_completion_public_schema_only.py
parentde83a72abff5700a6b1360cb985cd8e579555ca8 (diff)
Fix some bugs in the tests I added
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r--tests/test_smart_completion_public_schema_only.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py
index bab462c2..68d7cf33 100644
--- a/tests/test_smart_completion_public_schema_only.py
+++ b/tests/test_smart_completion_public_schema_only.py
@@ -594,14 +594,14 @@ def test_wildcard_column_expansion_with_table_qualifier(completer, complete_even
assert expected == completions
-def test_wildcard_column_expansion_with_two_tables_and_parent(completer, complete_event):
+def test_wildcard_column_expansion_with_two_tables(completer, complete_event):
sql = 'SELECT * FROM "select" JOIN users u ON true'
pos = len('SELECT *')
completions = completer.get_completions(
Document(text=sql, cursor_position=pos), complete_event)
- col_list = '"select".id, "select"."insert", "select"."ABC", u.id, u.phone_number'
+ col_list = '"select".id, "select"."insert", "select"."ABC", u.id, u.email, u.first_name, u.last_name'
expected = [Completion(text=col_list, start_position=-1,
display='*', display_meta='columns')]