Skip to content
Snippets Groups Projects
Commit 65dc8390 authored by Lukas Märdian's avatar Lukas Märdian
Browse files

Fix FTBFS (Closes: #963337)

parent f9c40499
No related branches found
No related tags found
1 merge request!3Fix FTBFS and add integration tests (Closes: #963337)
......@@ -11,6 +11,7 @@ python-mkdocs (1.0.4+dfsg-2) UNRELEASED; urgency=medium
* Adopt link target of font-awesome files
- fonts-font-awesome 5.0.10+really4.7.0~dfsg-2 provides only OpenType
and TrueType under /usr/share/fonts/
* Fix FTBFS (Closes: #963337)
-- Ondřej Nový <onovy@debian.org> Sat, 20 Jul 2019 00:06:32 +0200
......
Description: Mocking 'io.open' does not work at build time
If we remove the mock.patch('io.open', ...) test_build_extra_template
can be executed successfully.
Author: Lukas Märdian <lukas.maerdian@canonical.com>
Bug-Debian: https://bugs.debian.org/963337
--- python-mkdocs-1.0.4+dfsg.orig/mkdocs/tests/build_tests.py
+++ python-mkdocs-1.0.4+dfsg/mkdocs/tests/build_tests.py
@@ -228,7 +228,6 @@ class BuildTests(PathAssertionMixin, Log
# Test build._build_extra_template
- @mock.patch('io.open', mock.mock_open(read_data='template content'))
def test_build_extra_template(self):
cfg = load_config()
files = Files([
......@@ -5,3 +5,4 @@
0005-Disable-the-Markdown-GitHub-links-extension.patch
0006-Do-not-assert-that-fonts-directory-exists.patch
0007-Disable-non-English-search-support.patch
0008-Fix-FTBFS.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment