-
Notifications
You must be signed in to change notification settings - Fork 23.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move patch_ansible_module
to a pytest plugin
#66430
Draft
webknjaz
wants to merge
20
commits into
ansible:devel
Choose a base branch
from
webknjaz:features/patch_ansible_module-pytest-fixture
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Move patch_ansible_module
to a pytest plugin
#66430
webknjaz
wants to merge
20
commits into
ansible:devel
from
webknjaz:features/patch_ansible_module-pytest-fixture
+910
−404
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment was marked as outdated.
This comment was marked as outdated.
ansibot
added
affects_2.10
This issue/PR affects Ansible v2.10
core_review
In order to be merged, this PR must follow the core review workflow.
feature
This issue/PR relates to a feature request.
needs_triage
Needs a first human triage before being processed.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
labels
Jan 13, 2020
This comment has been minimized.
This comment has been minimized.
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Jan 13, 2020
webknjaz
force-pushed
the
features/patch_ansible_module-pytest-fixture
branch
from
January 13, 2020 20:27
1d8fb63
to
4768355
Compare
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
and removed
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
labels
Jan 13, 2020
This comment has been minimized.
This comment has been minimized.
ansibot
added
has_issue
new_plugin
This PR includes a new plugin.
and removed
needs_ci
This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI.
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Jan 13, 2020
This comment has been minimized.
This comment has been minimized.
ansibot
added
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
core_review
In order to be merged, this PR must follow the core review workflow.
labels
Jan 13, 2020
webknjaz
force-pushed
the
features/patch_ansible_module-pytest-fixture
branch
from
January 13, 2020 21:47
4768355
to
c0ee9ee
Compare
ansibot
removed
the
ci_verified
Changes made in this PR are causing tests to fail.
label
Jan 13, 2020
webknjaz
force-pushed
the
features/patch_ansible_module-pytest-fixture
branch
from
January 13, 2020 22:08
c0ee9ee
to
2b4e004
Compare
ansibot
removed
the
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
label
Jan 13, 2020
This patch automatically loads patch_ansible_module fixture into pytest when running `ansible-test units`. It previously existed in `conftest.py` hence only available to tests of ansible/ansible itself. Now, third-party collections will be able to use it without having to vendor the source code.
webknjaz
force-pushed
the
features/patch_ansible_module-pytest-fixture
branch
from
May 29, 2023 17:39
edcb5a1
to
dfc1da5
Compare
ansibot
removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
May 29, 2023
!waffling stale_ci |
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Jun 7, 2023
ansibot
added
the
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
label
Jul 1, 2023
ansibot
added
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
stale_review
Updates were made after the last review and the last review is more than 7 days old.
and removed
has_issue
labels
Jul 12, 2023
ansibot
added
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
and removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
labels
Oct 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects_2.10
This issue/PR affects Ansible v2.10
cloud
collection
Related to Ansible Collections work
docker
docs
This issue/PR relates to or includes documentation.
docsite
This issue/PR relates to the documentation website.
feature
This issue/PR relates to a feature request.
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
net_tools
Net-tools category
new_plugin
This PR includes a new plugin.
packaging
Packaging category
remote_management
Working Group: https://docs.ansible.com/ansible/latest/community/communication.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
stale_review
Updates were made after the last review and the last review is more than 7 days old.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
WIP
This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch automatically loads
patch_ansible_module
fixture intopytest when running
ansible-test units
. It previously existedin
conftest.py
hence only available to tests of ansible/ansibleitself. Now, third-party collections will be able to use it without
having to vendor the source code.
SUMMARY
As per above: this exposes
patch_ansible_module
fixture to any unit tests executed viaansible-test
.ISSUE TYPE
COMPONENT NAME
ansible-test
ADDITIONAL INFORMATION
N/A