summaryrefslogtreecommitdiffstats
path: root/tests/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_main.py')
-rw-r--r--tests/test_main.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index f98aae5e..0d026994 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -1,19 +1,12 @@
import pytest
import platform
-from pgcli.main import need_completion_refresh, obfuscate_process_password
try:
import setproctitle
except ImportError:
setproctitle = None
+from pgcli.main import obfuscate_process_password
-@pytest.mark.parametrize('sql', [
- 'DROP TABLE foo',
- 'SELECT * FROM foo; DROP TABLE foo',
-])
-def test_need_completion_refresh(sql):
- assert need_completion_refresh(sql)
-
@pytest.mark.skipif(platform.system() == 'Windows',
reason='Not applicable in windows')
@pytest.mark.skipif(not setproctitle,