summaryrefslogtreecommitdiffstats
path: root/tests/test_smart_completion_public_schema_only.py
diff options
context:
space:
mode:
authorJoakim Koljonen <koljonen@outlook.com>2017-03-06 23:04:09 +0100
committerJoakim Koljonen <koljonen@outlook.com>2017-03-06 23:16:29 +0100
commit6b8c62d0ecc0170c3fe0f90d2a7d463806d8a628 (patch)
tree2453a81d24f8a59c23da47c09ca2dfcf8be3d84f /tests/test_smart_completion_public_schema_only.py
parent5b2c3151e0c636ca3bf8c5632542167536ebe3d2 (diff)
Add MATERIALIZED VIEW keywords
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r--tests/test_smart_completion_public_schema_only.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py
index 9cac1435..a7290672 100644
--- a/tests/test_smart_completion_public_schema_only.py
+++ b/tests/test_smart_completion_public_schema_only.py
@@ -107,9 +107,10 @@ def test_builtin_function_name_completion(completer, complete_event):
position = len('SELECT MA')
result = completer.get_completions(
Document(text=text, cursor_position=position), complete_event)
- assert set(result) == set([function('MAX', -2),
- keyword('MAXEXTENTS', -2),
- ])
+ assert set(result) == set([
+ function('MAX', -2),
+ keyword('MAXEXTENTS', -2), keyword('MATERIALIZED VIEW', -2),
+ ])
def test_builtin_function_matches_only_at_start(completer, complete_event):