summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2022-02-01 12:52:07 +0300
committerGitHub <noreply@github.com>2022-02-01 01:52:07 -0800
commit7abddfe3500a777240889529ce32f2ecbb55169c (patch)
treec18b1e6b70ff48c2f94f53f5c37d401e609262b3 /tests
parent86ba995ad881a1a09b04c8088211c40329932256 (diff)
Mark stdin warning related tests with `requires_external_processes` (#1289)
* Mark test_stdin_read_warning with requires_installation * Mark stdin tests with requires_external_processes Co-authored-by: Nilushan Costa <19643850+nilushancosta@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_uploads.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_uploads.py b/tests/test_uploads.py
index d9de3ac9..5695d0c8 100644
--- a/tests/test_uploads.py
+++ b/tests/test_uploads.py
@@ -121,6 +121,7 @@ def stdin_processes(httpbin, *args):
@pytest.mark.parametrize("wait", (True, False))
+@pytest.mark.requires_external_processes
@pytest.mark.skipif(is_windows, reason="Windows doesn't support select() calls into files")
def test_reading_from_stdin(httpbin, wait):
with stdin_processes(httpbin) as (process_1, process_2):
@@ -138,6 +139,7 @@ def test_reading_from_stdin(httpbin, wait):
assert b'> warning: no stdin data read in 0.1s' not in errs
+@pytest.mark.requires_external_processes
@pytest.mark.skipif(is_windows, reason="Windows doesn't support select() calls into files")
def test_stdin_read_warning(httpbin):
with stdin_processes(httpbin) as (process_1, process_2):
@@ -153,6 +155,7 @@ def test_stdin_read_warning(httpbin):
assert b'> warning: no stdin data read in 0.1s' in errs
+@pytest.mark.requires_external_processes
@pytest.mark.skipif(is_windows, reason="Windows doesn't support select() calls into files")
def test_stdin_read_warning_with_quiet(httpbin):
with stdin_processes(httpbin, "-qq") as (process_1, process_2):