summaryrefslogtreecommitdiffstats
path: root/test/t/test_2to3.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_2to3.py')
-rw-r--r--test/t/test_2to3.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/t/test_2to3.py b/test/t/test_2to3.py
new file mode 100644
index 0000000..4bce44e
--- /dev/null
+++ b/test/t/test_2to3.py
@@ -0,0 +1,11 @@
+import pytest
+
+
+class Test2to3:
+ @pytest.mark.complete("2to3 ")
+ def test_1(self, completion):
+ assert completion
+
+ @pytest.mark.complete("2to3 -", require_cmd=True, require_longopt=True)
+ def test_2(self, completion):
+ assert completion