summaryrefslogtreecommitdiffstats
path: root/tests/test_smart_completion_public_schema_only.py
diff options
context:
space:
mode:
authorkoljonen <koljonen@outlook.com>2016-06-10 03:51:52 +0200
committerkoljonen <koljonen@outlook.com>2016-06-10 03:51:52 +0200
commit351a58554b4d30e1db42a13e3cd9d533b97100b5 (patch)
treee0805071c4f286b309806ab0e2f4d4f57c76326c /tests/test_smart_completion_public_schema_only.py
parent582852adb690866e6d149ab1bcaddf88cbfb8c69 (diff)
Also exclude NATURAL JOIN from join suggestions
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r--tests/test_smart_completion_public_schema_only.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py
index 1709dc46..04b605c9 100644
--- a/tests/test_smart_completion_public_schema_only.py
+++ b/tests/test_smart_completion_public_schema_only.py
@@ -455,7 +455,8 @@ def test_join_using_suggests_columns_after_first_column(completer, complete_even
@pytest.mark.parametrize('text', [
'SELECT * FROM ',
- 'SELECT * FROM users CROSS JOIN '
+ 'SELECT * FROM users CROSS JOIN ',
+ 'SELECT * FROM users natural join '
])
def test_table_names_after_from(completer, complete_event, text):
position = len(text)