Skip to content

Commit 50be426

Browse files
committed
correction with method name
1 parent ad4c65c commit 50be426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/rtd_tests/tests/test_doc_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def setUp(self):
138138

139139
@patch("readthedocs.doc_builder.backends.mkdocs.BaseMkdocs.docs_dir")
140140
@patch("readthedocs.doc_builder.backends.mkdocs.BaseMkdocs.run")
141-
@patch("readthedocs.builds.models.Version.get_mkdocs_yaml_path")
141+
@patch("readthedocs.builds.models.Version.get_mkdocs_yml_path")
142142
@patch("readthedocs.projects.models.Project.checkout_path")
143143
@patch("readthedocs.doc_builder.python_environments.load_yaml_config")
144144
def test_project_without_mkdocs_yaml(
@@ -152,7 +152,7 @@ def test_project_without_mkdocs_yaml(
152152
"""
153153
Test for a project without ``mkdocs.yaml`` file.
154154
155-
When this happen, the ``get_mkdocs_yaml_path`` raises a
155+
When this happen, the ``get_mkdocs_yml_path`` raises a
156156
``MkDocsYAMLParseError`` which is captured by our own code.
157157
"""
158158
tmp_dir = tempfile.mkdtemp()

0 commit comments

Comments
 (0)