You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure if this is a problem with compressor or django css. Doesn't look like the repo here or installing from pypi provides a version that does not break unit tests.
not sure if this is a problem with compressor or django css. Doesn't look like the repo here or installing from pypi provides a version that does not break unit tests.
FAIL: test_css_split (compressor.tests.CompressorTestCase)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/compressor/tests.py", line 95, in test_css_split
self.assertEqual(out, split)
AssertionError: [('file', u'/usr/lib/python2.6/site-packages/compressor/../testing/media/css/one.css', ''), ('hunk', u'p { border:5px solid green;}', '<style type="text/css">p { border:5px solid green;}</style>'), ('file', u'/usr/lib/python2.6/site-packages/compressor/../testing/media/css/two.css', ''), ('file', u'/usr/lib/python2.6/site-packages/compressor/../testing/media/css/three.css', ''), ('hunk', 'small {\n font-size: 10px;\n}', "<style type='text/css'>\nsmall {\n font-size: 10px;\n}\n</style>"), ('hunk', 'h1 {\n font-weight: bold;\n}', "<style type='text/css'>\nh1 {\n font-weight: bold;\n}\n</style>")] != [('file', u'/usr/lib/python2.6/site-packages/testing/media/css/one.css', ''), ('hunk', u'p { border:5px solid green;}', '<style type="text/css">p { border:5px solid green;}</style>'), ('file', u'/usr/lib/python2.6/site-packages/testing/media/css/two.css', ''), ('file', u'/usr/lib/python2.6/site-packages/testing/media/css/three.css', ''), ('hunk', 'small {\n font-size: 10px;\n}', "<style type='text/css'>\nsmall {\n font-size: 10px;\n}\n</style>"), ('hunk', 'h1 {\n font-weight: bold;\n}', "<style type='text/css'>\nh1 {\n font-weight: bold;\n}\n</style>")]
FAIL: test_get_filename (compressor.tests.CompressorTestCase)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/compressor/tests.py", line 70, in test_get_filename
self.assertEqual(filename,os.path.join(settings.MEDIA_ROOT,'something.css'))
AssertionError: '/usr/lib/python2.6/site-packages/testing/media/something.css' != '/usr/lib/python2.6/site-packages/compressor/../testing/media/something.css'
FAIL: test_js_split (compressor.tests.CompressorTestCase)
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/compressor/tests.py", line 149, in test_js_split
self.assertEqual(out, split)
AssertionError: [('file', u'/usr/lib/python2.6/site-packages/compressor/../testing/media/js/one.js', '<script src="/media/js/one.js" type="text/javascript"></script>'), ('hunk', u'obj.value = "value";', '<script type="text/javascript">obj.value = "value";</script>')] != [('file', u'/usr/lib/python2.6/site-packages/testing/media/js/one.js', '<script src="/media/js/one.js" type="text/javascript"></script>'), ('hunk', u'obj.value = "value";', '<script type="text/javascript">obj.value = "value";</script>')]
The text was updated successfully, but these errors were encountered: