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 188d2ba commit 938369bCopy full SHA for 938369b
readthedocs/rtd_tests/tests/test_doc_builder.py
@@ -159,8 +159,8 @@ 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()
163
- load_yaml_config.return_value.mkdocs = mock(configuration="mkdocs.yml")
+ load_yaml_config.return_value = mock.Mock()
+ load_yaml_config.return_value.mkdocs = mock.Mock(configuration="mkdocs.yml")
164
python_env = Virtualenv(
165
version=self.version,
166
build_env=self.build_env,
0 commit comments