diff --git a/testproject/testproject/settings.py b/testproject/testproject/settings.py index 22a254d..a0967fc 100644 --- a/testproject/testproject/settings.py +++ b/testproject/testproject/settings.py @@ -34,7 +34,7 @@ # Application definition -INSTALLED_APPS = ( +INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', @@ -46,19 +46,19 @@ 'testproject.testapp1', 'testproject.testapp2', -) +] if DJANGO_VERSION[:2] < (1, 6): INSTALLED_APPS += ('discover_runner', ) -MIDDLEWARE_CLASSES = ( +MIDDLEWARE = [ 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', -) +] ROOT_URLCONF = 'testproject.urls' @@ -131,3 +131,10 @@ }, } } + +TEMPLATES = [ + { + 'BACKEND': 'django.template.backends.django.DjangoTemplates', + 'APP_DIRS': True, + }, +] diff --git a/testproject/testproject/urls.py b/testproject/testproject/urls.py index de3a3a9..4633732 100644 --- a/testproject/testproject/urls.py +++ b/testproject/testproject/urls.py @@ -8,5 +8,5 @@ # url(r'^$', 'testproject.views.home', name='home'), # url(r'^blog/', include('blog.urls')), - url(r'^admin/', include(admin.site.urls)), + url(r'^admin/', admin.site.urls), ) diff --git a/tests/test_scss.py b/tests/test_scss.py index c1410e1..861c1d5 100644 --- a/tests/test_scss.py +++ b/tests/test_scss.py @@ -156,10 +156,6 @@ class StorageImportTest(ImportTestMixin, CollectStaticTestCase): 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