summaryrefslogtreecommitdiffstats
path: root/test/t/test_units.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_units.py')
-rw-r--r--test/t/test_units.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/t/test_units.py b/test/t/test_units.py
new file mode 100644
index 0000000..824e2ce
--- /dev/null
+++ b/test/t/test_units.py
@@ -0,0 +1,9 @@
+import pytest
+
+
+class TestUnits:
+ @pytest.mark.complete(
+ "units --", require_cmd=True, xfail="! units --help &>/dev/null"
+ )
+ def test_1(self, completion):
+ assert completion