summaryrefslogtreecommitdiffstats
path: root/tests/test_smart_completion_public_schema_only.py
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2017-08-06 21:14:40 -0600
committerGitHub <noreply@github.com>2017-08-06 21:14:40 -0600
commit99c9040c3dad802fd0825dc10a6b09b0e3beb017 (patch)
tree7b21dfa86472bbdcbd1ea7dfcb72a3fa2595ac84 /tests/test_smart_completion_public_schema_only.py
parent30573ad72a19d593c98b2c99577ed6d467c5edce (diff)
parentb90beeb4d366e3ab584757c7965ee06e55bd3c95 (diff)
Merge pull request #771 from dbcli/koljonen/reservered_words
Don't quote identifiers that are non-reserved keywords
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 cdfbaf57..0e676065 100644
--- a/tests/test_smart_completion_public_schema_only.py
+++ b/tests/test_smart_completion_public_schema_only.py
@@ -732,7 +732,7 @@ def test_wildcard_column_expansion_with_two_tables(completer):
completions = get_result(completer, text, position)
- cols = ('"select".id, "select"."insert", "select"."ABC", '
+ cols = ('"select".id, "select".insert, "select"."ABC", '
'u.id, u.parentid, u.email, u.first_name, u.last_name')
expected = [wildcard_expansion(cols)]
assert completions == expected
@@ -745,7 +745,7 @@ def test_wildcard_column_expansion_with_two_tables_and_parent(completer):
completions = get_result(completer, text, position)
- col_list = 'id, "select"."insert", "select"."ABC"'
+ col_list = 'id, "select".insert, "select"."ABC"'
expected = [wildcard_expansion(col_list)]
assert expected == completions