Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEDIA_URL is hardcoded in tests #71

Closed
humitos opened this issue Jan 22, 2012 · 0 comments
Closed

MEDIA_URL is hardcoded in tests #71

humitos opened this issue Jan 22, 2012 · 0 comments
Labels

Comments

@humitos
Copy link

humitos commented Jan 22, 2012

Hello,

After installing django-filebrowser and running test I got 6 ERRORS because the directory "uploads/" is hardcoded in the test. I created this path by myself and ran tests again. This time I got 6 FAILURES because I have setted MEDIA_URL = "user-media/" instead "media/", and this URL is hardcoded in tests.

For example: filebrowser/tests/base.py LINE 36

https://github.com/sehmaschine/django-filebrowser/blob/master/filebrowser/tests/base.py#L36

Thanks,

@ghost ghost self-assigned this Feb 10, 2012
ghost pushed a commit that referenced this issue Feb 22, 2012
@ghost ghost closed this as completed Feb 22, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant