Update test name
This commit is contained in:
parent
5ab1c54507
commit
3f567bf0c2
|
@ -19,8 +19,8 @@ def test_main(monkeypatch, capsys):
|
||||||
assert "pytest-bdd: error:" in err
|
assert "pytest-bdd: error:" in err
|
||||||
|
|
||||||
|
|
||||||
def test_issue_173(pytester):
|
def test_step_definitions_found_using_main(pytester):
|
||||||
"""Ensure step definitions are found when using pytest.main."""
|
"""Issue 173: Ensure step definitions are found when using pytest.main."""
|
||||||
pytester.makefile(
|
pytester.makefile(
|
||||||
".feature",
|
".feature",
|
||||||
outline=textwrap.dedent(
|
outline=textwrap.dedent(
|
||||||
|
@ -74,7 +74,7 @@ def test_issue_173(pytester):
|
||||||
|
|
||||||
# Programmatically run pytest
|
# Programmatically run pytest
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
pytest.main([os.path.abspath("test_issue_173.py")])
|
pytest.main([os.path.abspath("test_step_definitions_found_using_main.py")])
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue