We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab1c54 commit 3f567bfCopy full SHA for 3f567bf
tests/scripts/test_main.py
@@ -19,8 +19,8 @@ def test_main(monkeypatch, capsys):
19
assert "pytest-bdd: error:" in err
20
21
22
-def test_issue_173(pytester):
23
- """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."""
24
pytester.makefile(
25
".feature",
26
outline=textwrap.dedent(
@@ -74,7 +74,7 @@ def _(cucumbers, left):
74
75
# Programmatically run pytest
76
if __name__ == "__main__":
77
- pytest.main([os.path.abspath("test_issue_173.py")])
+ pytest.main([os.path.abspath("test_step_definitions_found_using_main.py")])
78
"""
79
)
80
0 commit comments