Skip to content

Commit

Permalink
Update test name
Browse files Browse the repository at this point in the history
  • Loading branch information
jsa34 committed Nov 13, 2024
1 parent 5ab1c54 commit 3f567bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/scripts/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def test_main(monkeypatch, capsys):
assert "pytest-bdd: error:" in err


def test_issue_173(pytester):
"""Ensure step definitions are found when using pytest.main."""
def test_step_definitions_found_using_main(pytester):
"""Issue 173: Ensure step definitions are found when using pytest.main."""
pytester.makefile(
".feature",
outline=textwrap.dedent(
Expand Down Expand Up @@ -74,7 +74,7 @@ def _(cucumbers, left):
# Programmatically run pytest
if __name__ == "__main__":
pytest.main([os.path.abspath("test_issue_173.py")])
pytest.main([os.path.abspath("test_step_definitions_found_using_main.py")])
"""
)
)
Expand Down

0 comments on commit 3f567bf

Please sign in to comment.