summaryrefslogtreecommitdiffstats
path: root/test/units/test_no_tty.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/test_no_tty.py')
-rw-r--r--test/units/test_no_tty.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/units/test_no_tty.py b/test/units/test_no_tty.py
new file mode 100644
index 0000000..290c0b9
--- /dev/null
+++ b/test/units/test_no_tty.py
@@ -0,0 +1,7 @@
+import sys
+
+
+def test_no_tty():
+ assert not sys.stdin.isatty()
+ assert not sys.stdout.isatty()
+ assert not sys.stderr.isatty()