Skip to content
Sections
>> Trisquel >> Packages >> xolotl (13.0) >> python >> python3-pytest-subprocess
[  xolotl  ]
[ Source: pytest-subprocess  ]

Package: python3-pytest-subprocess (1.5.3-1)

Plugin to fake subprocess for pytest

The plugin adds the ``fake_process`` 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.check_call()`` and ``subprocess.check_output()`` methods also functional.

Other Packages Related to python3-pytest-subprocess

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest
    Simple, powerful testing in Python3

Download python3-pytest-subprocess

Download for all available architectures
Architecture Package Size Installed Size Files
all 17.7 kB91 kB [list of files]