summaryrefslogtreecommitdiffstats
path: root/tests/test_smart_completion_public_schema_only.py
diff options
context:
space:
mode:
authorkoljonen <koljonen@outlook.com>2016-05-15 19:41:30 +0200
committerkoljonen <koljonen@outlook.com>2016-05-15 19:41:30 +0200
commit838d4f6950dacc6c6631a05de413ecb0531dfa27 (patch)
treede9e10a417813d63307a38196af1dabd401a3e09 /tests/test_smart_completion_public_schema_only.py
parent30727196ed68a97b7b14b3bfd457337c4a7103ec (diff)
Remove dead code and fix a broken test (all found by Codacy)
Diffstat (limited to 'tests/test_smart_completion_public_schema_only.py')
-rw-r--r--tests/test_smart_completion_public_schema_only.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_smart_completion_public_schema_only.py b/tests/test_smart_completion_public_schema_only.py
index 432375ad..7a88d423 100644
--- a/tests/test_smart_completion_public_schema_only.py
+++ b/tests/test_smart_completion_public_schema_only.py
@@ -499,17 +499,6 @@ def test_join_functions_using_suggests_common_columns(completer, complete_event)
Completion(text='y', start_position=0, display_meta='column')])
-def test_join_functions_using_suggests_common_columns(completer, complete_event):
- text = '''SELECT * FROM set_returning_func() f1
- INNER JOIN set_returning_func() f2 USING ('''
- pos = len(text)
- result = set(completer.get_completions(
- Document(text=text, cursor_position=pos), complete_event))
- assert set(result) == set([
- Completion(text='x', start_position=0, display_meta='column'),
- Completion(text='y', start_position=0, display_meta='column')])
-
-
def test_join_functions_on_suggests_columns(completer, complete_event):
text = '''SELECT * FROM set_returning_func() f1
INNER JOIN set_returning_func() f2 ON f1.'''