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 d88ef56 commit a22c1f1Copy full SHA for a22c1f1
readthedocs/rtd_tests/tests/test_doc_builder.py
@@ -159,8 +159,10 @@ def test_project_without_mkdocs_yaml(
159
checkout_path.return_value = tmp_dir
160
docs_dir.return_value = tmp_dir
161
get_mkdocs_yaml_path.side_effect = MkDocsYAMLParseError
162
- load_yaml_config.return_value = mock.Mock()
163
- load_yaml_config.return_value.mkdocs = mock.Mock(configuration="mkdocs.yml")
+ mock_config = mock.Mock()
+ mock_config.mkdocs = mock.Mock(configuration="mkdocs.yml")
164
+
165
+ load_yaml_config.return_value = mock_config
166
python_env = Virtualenv(
167
version=self.version,
168
build_env=self.build_env,
0 commit comments