Skip to content

Commit d98a90f

Browse files
Copilotchrisjsewell
andcommitted
Rename test functions for consistency per code review
Co-authored-by: chrisjsewell <2997570+chrisjsewell@users.noreply.github.com>
1 parent feb55e7 commit d98a90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_link_conditions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_link_conditions(test_app: Sphinx):
5454
],
5555
indirect=True,
5656
)
57-
def test_link_conditions_json_include_conditions_default(test_app: Sphinx):
57+
def test_json_includes_link_conditions_by_default(test_app: Sphinx):
5858
"""Test that the default config includes link conditions in needs.json."""
5959
app = test_app
6060
app.build()
@@ -86,7 +86,7 @@ def test_link_conditions_json_include_conditions_default(test_app: Sphinx):
8686
],
8787
indirect=True,
8888
)
89-
def test_link_conditions_json_exclude_conditions(test_app: Sphinx):
89+
def test_json_excludes_link_conditions_when_disabled(test_app: Sphinx):
9090
"""Test that conditions are stripped from needs.json when config is False."""
9191
app = test_app
9292
app.build()

0 commit comments

Comments
 (0)