Skip to content

Commit 3f567bf

Browse files
committed
Update test name
1 parent 5ab1c54 commit 3f567bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/scripts/test_main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def test_main(monkeypatch, capsys):
1919
assert "pytest-bdd: error:" in err
2020

2121

22-
def test_issue_173(pytester):
23-
"""Ensure step definitions are found when using pytest.main."""
22+
def test_step_definitions_found_using_main(pytester):
23+
"""Issue 173: Ensure step definitions are found when using pytest.main."""
2424
pytester.makefile(
2525
".feature",
2626
outline=textwrap.dedent(
@@ -74,7 +74,7 @@ def _(cucumbers, left):
7474
7575
# Programmatically run pytest
7676
if __name__ == "__main__":
77-
pytest.main([os.path.abspath("test_issue_173.py")])
77+
pytest.main([os.path.abspath("test_step_definitions_found_using_main.py")])
7878
"""
7979
)
8080
)

0 commit comments

Comments
 (0)