summaryrefslogtreecommitdiff
path: root/test/t/test_influx.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_influx.py')
-rw-r--r--test/t/test_influx.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/t/test_influx.py b/test/t/test_influx.py
new file mode 100644
index 00000000..53a15bff
--- /dev/null
+++ b/test/t/test_influx.py
@@ -0,0 +1,15 @@
+import pytest
+
+
+class TestInflux:
+ @pytest.mark.complete("influx ")
+ def test_nothing(self, completion):
+ assert not completion
+
+ @pytest.mark.complete("influx -", require_cmd=True)
+ def test_options(self, completion):
+ assert completion
+
+ @pytest.mark.complete("influx -format ", require_cmd=True)
+ def test_format(self, completion):
+ assert completion