pytest-xprocess icon indicating copy to clipboard operation
pytest-xprocess copied to clipboard

pytest external process plugin

Results 13 pytest-xprocess issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/asottile/pyupgrade: v3.15.1 → v3.15.2](https://github.com/asottile/pyupgrade/compare/v3.15.1...v3.15.2) - [github.com/psf/black: 24.2.0 → 24.4.2](https://github.com/psf/black/compare/24.2.0...24.4.2) - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0)

**Is your feature request related to a problem? Please describe.** It is not uncommon wanting to start and stop a global service during a pytest run. Often test runs are...

feature request

Hi. After upgrading from 0.17.1 to 0.22.2, i got following error ``` File "/Users/20010116/.pyenv/versions/3.9.17/envs/venv-ddiapi2-py39/lib/python3.9/site-packages/xprocess/pytest_xprocess.py", line 59, in xprocess open(log_file, errors="surrogateescape").close() IsADirectoryError: [Errno 21] Is a directory: '/Users/20010116/Documents/Workspace/ddi/infrasvc-ddi-api/.pytest_cache/d/.xprocess/consumer_start_consumer/log' ``` Digging the...

bug

**Describe the bug** When not using the `pattern` parameter, this error is returned: `TypeError: Can't instantiate abstract class Starter with abstract methods pattern` **To Reproduce** Steps to reproduce the behavior:...

bug

**What would you like to know?.** How to control the current working directory of the launched process? **Additional context** When using pytest-xprocess to launch a server process I notice that...

question
feature request

$ export VERSION=0.22.2 $ git tag $VERSION release-$VERSION $ python -m setuptools_scm $> 0.22.1 $ git push [email protected]:pytest-dev/pytest-xprocess.git $VERSION but from deploy logs: > Checking dist/pytest_xprocess-0.0.0-py3-none-any.whl: PASSED > Checking dist/pytest-xprocess-0.0.0.tar.gz:...

Is there a way to hide all the ouput while using the `pattern` option? I've tried this: ```python class Starter(ProcessStarter): env = {"PYTHONUNBUFFERED": "1", **os.environ} pattern = BOOT_MSG popen_kwargs =...

question

updates: - [github.com/asottile/pyupgrade: v3.15.2 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.15.2...v3.19.1) - [github.com/asottile/reorder-python-imports: v3.12.0 → v3.14.0](https://github.com/asottile/reorder-python-imports/compare/v3.12.0...v3.14.0) - [github.com/psf/black: 24.4.2 → 25.1.0](https://github.com/psf/black/compare/24.4.2...25.1.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.1.2](https://github.com/PyCQA/flake8/compare/7.0.0...7.1.2) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0)

**Describe the bug** I believe there is a typo in the `tox.ini` file and this should be applied: ``` --- pytest-xprocess-1.0.2/tox.ini.orig +++ pytest-xprocess-1.0.2/tox.ini @@ -20,7 +20,7 @@ coverage commands= coverage...

bug

**Describe the bug** I run tests for `pytest-xprocess` version `1.0.2` and the following tests fails: ``` =========================== short test summary info ============================ FAILED test_process_initialization.py::test_startup_without_pattern[s1] - ConnectionRefusedError: [Errno 146] Connection refused...

bug