Skip to content

Commit 00c5277

Browse files
committed
fixed bugs regarding improper paths for files and test comments
1 parent 4a96492 commit 00c5277

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readthedocs/rtd_tests/tests/test_doc_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ def setUp(self):
137137
BaseMkdocs.relative_output_dir = "_readthedocs/"
138138

139139

140-
@patch("readthedocs.doc_builder.backends.sphinx.BaseMkdocs.docs_dir")
141-
@patch("readthedocs.doc_builder.backends.sphinx.BaseMkdocs.run")
140+
@patch("readthedocs.doc_builder.backends.mkdocs.BaseMkdocs.docs_dir")
141+
@patch("readthedocs.doc_builder.backends.mkdocs.BaseMkdocs.run")
142142
@patch("readthedocs.builds.models.Version.get_mkdocs_yaml_path")
143143
@patch("readthedocs.projects.models.Project.checkout_path")
144144
@patch("readthedocs.doc_builder.python_environments.load_yaml_config")
@@ -151,9 +151,9 @@ def test_project_without_mkdocs_yaml(
151151
docs_dir,
152152
):
153153
"""
154-
Test for a project without ``conf.py`` file.
154+
Test for a project without ``mkdocs.yaml`` file.
155155
156-
When this happen, the ``get_conf_py_path`` raises a
156+
When this happen, the ``get_mkdocs_yaml_path`` raises a
157157
``ProjectConfigurationError`` which is captured by our own code.
158158
"""
159159
tmp_dir = tempfile.mkdtemp()

0 commit comments

Comments
 (0)