Commit a8b757c3 by Timothée Peignier

cleanup whitespace

parent 94fed942
...@@ -58,9 +58,9 @@ class PackagerTest(TestCase): ...@@ -58,9 +58,9 @@ class PackagerTest(TestCase):
individual_url = packager.individual_url(filename) individual_url = packager.individual_url(filename)
self.assertEqual(individual_url, self.assertEqual(individual_url,
"http://localhost/static/js/application.js") "http://localhost/static/js/application.js")
def test_periods_safe_individual_url(self): def test_periods_safe_individual_url(self):
"""Check that the periods in file names do not get replaced by individual_url when """Check that the periods in file names do not get replaced by individual_url when
PIPELINE_ROOT/STATIC_ROOT is not set, such as in development PIPELINE_ROOT/STATIC_ROOT is not set, such as in development
""" """
settings.PIPELINE_ROOT = settings.STATIC_ROOT = settings.MEDIA_ROOT = "" settings.PIPELINE_ROOT = settings.STATIC_ROOT = settings.MEDIA_ROOT = ""
...@@ -69,7 +69,7 @@ class PackagerTest(TestCase): ...@@ -69,7 +69,7 @@ class PackagerTest(TestCase):
individual_url = packager.individual_url(filename) individual_url = packager.individual_url(filename)
self.assertEqual(individual_url, self.assertEqual(individual_url,
"http://localhost/static/js/application.js") "http://localhost/static/js/application.js")
def test_external_urls(self): def test_external_urls(self):
packager = Packager() packager = Packager()
packages = packager.create_packages({ packages = packager.create_packages({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment