Package: python-mkdocs / 1.4.2+dfsg-2

debian-hacks/Do-not-assert-that-fonts-directory-exists.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Dmitry Shachnev <mitya57@debian.org>
Date: Fri, 10 Aug 2018 17:00:17 +0300
Subject: Do not assert that fonts directory exists

We exclude that directory when building the DFSG tarball, and replace
the fonts with symlinks to packaged versions.

Forwarded: Not-Needed
---
 mkdocs/tests/build_tests.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mkdocs/tests/build_tests.py b/mkdocs/tests/build_tests.py
index fa29bf6..a2ab8cd 100644
--- a/mkdocs/tests/build_tests.py
+++ b/mkdocs/tests/build_tests.py
@@ -552,7 +552,6 @@ class BuildTests(PathAssertionMixin, unittest.TestCase):
         self.assertPathIsDir(site_dir, 'js')
         self.assertPathIsDir(site_dir, 'css')
         self.assertPathIsDir(site_dir, 'img')
-        self.assertPathIsDir(site_dir, 'fonts')
         self.assertPathNotExists(site_dir, '__init__.py')
         self.assertPathNotExists(site_dir, '__init__.pyc')
         self.assertPathNotExists(site_dir, 'base.html')