summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-test-no-tty/runme.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/integration/targets/ansible-test-no-tty/runme.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-test-no-tty/runme.py b/test/integration/targets/ansible-test-no-tty/runme.py
new file mode 100755
index 0000000000..c8c5cfccce
--- /dev/null
+++ b/test/integration/targets/ansible-test-no-tty/runme.py
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+import sys
+
+assert not sys.stdin.isatty()
+assert not sys.stdout.isatty()
+assert not sys.stderr.isatty()