Debian Codegraph @

debian/patches/debian-hacks/Do-not-assert-that-webfonts-directory-exists.patch

raw
1 From: Dmitry Shachnev <[email protected]>
2 Date: Fri, 10 Aug 2018 17:00:17 +0300
3 Subject: Do not assert that webfonts directory exists
4
5 We exclude that directory when building the DFSG tarball, and replace
6 the fonts with symlinks to packaged versions.
7
8 Forwarded: Not-Needed
9 ---
10 mkdocs/tests/build_tests.py | 1 -
11 1 file changed, 1 deletion(-)
12
13 diff --git a/mkdocs/tests/build_tests.py b/mkdocs/tests/build_tests.py
14 index d2dd3ca..14ce321 100644
15 --- a/mkdocs/tests/build_tests.py
16 +++ b/mkdocs/tests/build_tests.py
17 @@ -550,7 +550,6 @@ class BuildTests(PathAssertionMixin, unittest.TestCase):
18 self.assertPathIsDir(site_dir, 'js')
19 self.assertPathIsDir(site_dir, 'css')
20 self.assertPathIsDir(site_dir, 'img')
21 - self.assertPathIsDir(site_dir, 'webfonts')
22 self.assertPathNotExists(site_dir, '__init__.py')
23 self.assertPathNotExists(site_dir, '__init__.pyc')
24 self.assertPathNotExists(site_dir, 'base.html')