Skip to content

Commit a519c88

Browse files
committed
created mock of mkdocs for test to continue
1 parent 3bc3678 commit a519c88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readthedocs/rtd_tests/tests/test_doc_builder.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ def test_project_without_mkdocs_yaml(
159159
checkout_path.return_value = tmp_dir
160160
docs_dir.return_value = tmp_dir
161161
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")
162164
python_env = Virtualenv(
163165
version=self.version,
164166
build_env=self.build_env,

0 commit comments

Comments
 (0)