Skip to content

Commit

Permalink
add pytest-forked to test requirements (#1569) (#1570)
Browse files Browse the repository at this point in the history
[PR #1569/2e0fa2d2 backport][stable-3] add pytest-forked to test requirements

This is a backport of PR #1569 as merged into main (2e0fa2d).
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 bb92137 commit 3f1d83c
Show file tree
Hide file tree
Showing 2 changed files with 6 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
6 changes: 4 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ python-dateutil # Used by ec2_asg_scheduled_action
coverage==4.5.4
placebo
mock
pytest-xdist
# We should avoid these two modules with py3
pytest
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 3f1d83c

Please sign in to comment.