summaryrefslogtreecommitdiffstats
path: root/test/lib/ansible_test/_internal/config.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-04-27 23:07:15 +0200
committerGitHub <noreply@github.com>2022-04-27 23:07:15 +0200
commit5c2d830dea986a8c7bd8c286b86bdce326cd7eb1 (patch)
treea4c4e26f1f9e27d75c0e383ef15bb175dd3b3879 /test/lib/ansible_test/_internal/config.py
parentUpdate guide_vultr.rst (#77665) (diff)
downloadansible-5c2d830dea986a8c7bd8c286b86bdce326cd7eb1.tar.xz
ansible-5c2d830dea986a8c7bd8c286b86bdce326cd7eb1.zip
ansible-test - Fix subprocess management. (#77641)
* Run code-smell sanity tests in UTF-8 Mode. * Update subprocess use in sanity test programs. * Use raw_command instead of run_command with always=True set. * Add more capture=True usage. * Don't expose stdin to subprocesses. * Capture more output. Warn on retry. * Add more captures. * Capture coverage cli output. * Capture windows and network host checks. * Be explicit about interactive usage. * Use a shell for non-captured, non-interactive subprocesses. * Add integration test to assert no TTY. * Add unit test to assert no TTY. * Require blocking stdin/stdout/stderr. * Use subprocess.run in ansible-core sanity tests. * Remove unused arg. * Be explicit with subprocess.run check=False. * Add changelog. * Use a Python subprocess instead of a shell. * Use InternalError instead of Exception. * Require capture argument. * Check for invalid raw_command arguments. * Removed pointless communicate=True usage. * Relocate stdout w/o capture check. * Use threads instead of a subprocess for IO.
Diffstat (limited to 'test/lib/ansible_test/_internal/config.py')
-rw-r--r--test/lib/ansible_test/_internal/config.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/config.py b/test/lib/ansible_test/_internal/config.py
index 0a14a806ca..5da5fc00e4 100644
--- a/test/lib/ansible_test/_internal/config.py
+++ b/test/lib/ansible_test/_internal/config.py
@@ -238,6 +238,7 @@ class ShellConfig(EnvironmentConfig):
super().__init__(args, 'shell')
self.raw = args.raw # type: bool
+ self.interactive = True
class SanityConfig(TestConfig):