Skip to content

Releases: aklajnert/pytest-subprocess

1.2.0

09 Oct 10:13
b820ca5
Compare
Choose a tag to compare

Features

  • #49, #52: Add support for asyncio.

Other changes

  • #50: Change docs theme.

1.1.2

17 Jul 12:08
6363b99
Compare
Choose a tag to compare

Bug fixes

  • #47: Prevent allow_unregistered() and keep_last_process() from affecting other tests.

1.1.1

18 Jun 15:55
ca235cd
Compare
Choose a tag to compare

Bug fixes

  • #43: Wait for callback thread to finish when calling communicate().

Other changes

  • #42: Fix type annotations for register_subprocess().

1.1.0

18 Apr 12:11
0d5f06c
Compare
Choose a tag to compare

Bug fixes

  • #37: Preserve original command in proc.args to prevent leaking the internal Command type.

Other changes

  • #38: Switched CI from Azure Pipelines to GitHub Actions.
  • #35: Drop support for python 3.4 and 3.5. Move type annotations from .pyi files into sources.

1.0.1

20 Mar 16:54
Compare
Choose a tag to compare
  • #34: Prevent appending newlines to outputs unless defined as list/tuple.
  • #32: Make the Command class iterable.

1.0.0

22 Aug 11:09
7d22227
Compare
Choose a tag to compare
  • #29: Remember subprocess calls to check if expected commands were executed.
  • #28: Allow to match a command with variable arguments (non-exact matching).

0.1.5

19 Jun 07:02
Compare
Choose a tag to compare

Bug fixes

#26: encoding and errors arguments will properly trigger text mode.

0.1.4

28 Apr 07:52
Compare
Choose a tag to compare

Bug fixes

  • #22: The returncode will not be ignored when callback is used.
  • #21: The exception raised from callback will take precedence over those from subprocess.
  • #20: Registering process will be now consistent regardless of the command type.
  • #19: Fixed crash for stderr redirect with an empty stream definition.

0.1.3

04 Mar 08:05
Compare
Choose a tag to compare

Features

  • #13: Allow passing keyword arguments into callbacks.

Bug fixes

  • #12: Properly raise exceptions from callback functions.

Documentation changes

  • #15: Add documentation chapter about the callback functions.

0.1.2

17 Jan 18:10
Compare
Choose a tag to compare

Features

  • #3: Add basic support for process input.

Bug fixes

  • #5: Make wait() method to raise TimeoutError after the desired time will elapse.

Documentation changes

  • #7, #8, #9: Create Sphinx documentation.

Other changes

  • #10: Switch from tox to nox for running tests and tasks.
  • #4: Add classifier for Python 3.9. Update CI config to test also on that interpreter version.