summaryrefslogtreecommitdiff
path: root/test/t/test_chromium_browser.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_chromium_browser.py')
-rw-r--r--test/t/test_chromium_browser.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/t/test_chromium_browser.py b/test/t/test_chromium_browser.py
new file mode 100644
index 00000000..75cabdaf
--- /dev/null
+++ b/test/t/test_chromium_browser.py
@@ -0,0 +1,13 @@
+import pytest
+
+
+@pytest.mark.bashcomp(cmd="chromium-browser")
+class TestChromiumBrowser:
+ @pytest.mark.complete("chromium-browser ")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete("chromium-browser -")
+ def test_2(self, completion):
+ assert completion
+ assert not completion.endswith(" ")