summaryrefslogtreecommitdiff
path: root/test/lib/completions/tox.exp
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/completions/tox.exp')
-rw-r--r--test/lib/completions/tox.exp24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/lib/completions/tox.exp b/test/lib/completions/tox.exp
new file mode 100644
index 00000000..55106326
--- /dev/null
+++ b/test/lib/completions/tox.exp
@@ -0,0 +1,24 @@
+proc setup {} {
+ save_env
+}
+
+
+proc teardown {} {
+ assert_env_unmodified
+}
+
+
+setup
+
+
+assert_complete_any "tox -"
+sync_after_int
+
+assert_complete "ALL" "tox -e "
+sync_after_int
+
+assert_complete "ALL" "tox -e foo,"
+sync_after_int
+
+
+teardown