Skip to content

Commit

Permalink
add pytest-forked to test requirements (#1202) (#1203)
Browse files Browse the repository at this point in the history
[PR #1202/b27ac1dc backport][stable-3] add pytest-forked to test requirements

This is a backport of PR #1202 as merged into main (b27ac1d).
SUMMARY
ansible-test is using pytest --forked we need the sub-module installed
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
test-requirements.txt
ADDITIONAL INFORMATION
See also: ansible/ansible#76679

Reviewed-by: Mark Chappell <None>
  • Loading branch information
patchback[bot] authored Oct 26, 2022
1 parent 005a0d3 commit a8fdd69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/20221026-pytest-forked.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trivial:
- test-requirements - add pytest-forked to requirements for unit tests
5 changes: 3 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ coverage==4.5.4
placebo
mock
pytest
pytest-xdist
# We should avoid these two modules with py3
pytest-forked
pytest-mock
pytest-xdist

# Needed for ansible.utils.ipaddr in tests
netaddr
# Sometimes needed where we don't have features we need in modules
Expand Down

0 comments on commit a8fdd69

Please sign in to comment.