google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Tests fail if directorysettings contain ".." #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create a relative path from your project pointing to photologue. i.e in
manage.py add something like:

sys.path.insert(0, abspath(join(dirname(__file__), '../apps')))

when photologue is installed in ../apps

run the tests with ./manage test.

you will get an assertion at line 64 complaining about paths not being equal.

In the small patch below I have used os.path.normpath to normalize paths.

Original issue reported on code.google.com by jens.per...@gmail.com on 31 Jul 2008 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
Patched in r258. Thanks!

Original comment by justin.d...@gmail.com on 1 Aug 2008 at 1:13