About Anaconda Help Download Anaconda

anaconda / packages / pytest-subprocess 1.5.2

A plugin to fake subprocess for pytest

Installers

  • osx-64 v1.5.2
  • linux-s390x v1.5.2
  • linux-64 v1.5.2
  • osx-arm64 v1.5.2
  • linux-aarch64 v1.5.2
  • win-64 v1.5.2

conda install

To install this package run one of the following:
conda install anaconda::pytest-subprocess

Description

The plugin adds the fakeprocess fixture (and fp as an alias). It can be used it to register subprocess results so you won't need to rely on the real processes. The plugin hooks on the subprocess.Popen(), which is the base for other subprocess functions. That makes the subprocess.run(), subprocess.call(), subprocess.checkcall() and subprocess.check_output() methods also functional.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.0.7) Legal | Privacy Policy