Skip to content

Commit

Permalink
Fix test method name. (#4165)
Browse files Browse the repository at this point in the history
This appears to have been missed while reviewing #4135. If I understand
the [pytest
docs](https://docs.pytest.org/en/8.0.x/explanation/goodpractices.html#test-discovery)
correctly, the method is not recognized as a test without the change.

This pull request is nearly identical to #4164, which I accidentally
closed and was unable to reopen.
  • Loading branch information
expeehaa authored Apr 12, 2024
1 parent 147f569 commit 2af568b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
matrix: ${{ fromJson(needs.pre.outputs.matrix) }}

env:
PYTEST_REQPASS: 452
PYTEST_REQPASS: 453
environment: test
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion test/a_unit/provisioner/test_ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ def test_get_filter_plugins_directories_default(_instance, monkeypatch):
assert re.search(r"/usr/share/ansible/plugins/filter$", paths[4])


def tes_get_filter_plugins_directories_single_ansible_filter_plugins(
def test_get_filter_plugins_directories_single_ansible_filter_plugins(
_instance,
monkeypatch,
):
Expand Down

0 comments on commit 2af568b

Please sign in to comment.