Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix relative path causing tests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
wil committed Oct 29, 2010
1 parent 0a0d712 commit 5e9e7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compressor/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def tearDown(self):

def setUp(self):
self.old_settings = copy(settings.__dict__)
self.TEST_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "testing")
self.TEST_DIR = os.path.realpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "testing"))
settings.MEDIA_ROOT = os.path.join(self.TEST_DIR, 'media')
settings.MEDIA_URL = '/media/'
settings.COMPRESS_CSS_FILTERS = ['compressor.filters.css_default.CssAbsoluteFilter']
Expand Down

0 comments on commit 5e9e7d5

Please sign in to comment.