File: remove-broken-test-in-django-2.0.patch

package info (click to toggle)
python-django-pyscss 2.0.3-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 372 kB
  • sloc: python: 474; makefile: 20
file content (20 lines) | stat: -rw-r--r-- 806 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Remove broken test when using Django 2.0
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2019-07-10

Index: python-django-pyscss/tests/test_scss.py
===================================================================
--- python-django-pyscss.orig/tests/test_scss.py
+++ python-django-pyscss/tests/test_scss.py
@@ -156,10 +156,6 @@ $widgets: sprite-map('images/icons/widge
 
 
 class AssetsTest(CompilerTestMixin, TestCase):
-    def test_inline_image(self):
-        actual = self.compiler.compile_string(INLINE_IMAGE)
-        self.assertEqual(clean_css(actual), clean_css(INLINED_IMAGE_EXPECTED))
-
     def test_sprite_images(self):
         actual = self.compiler.compile_string(SPRITE_MAP)
         # pyScss puts a cachebuster query string on the end of the URLs, lets