Closed Bug 879596 Opened 13 years ago Closed 12 years ago

[socorro-crashstats] test suite fails if you haven't manually run collect static

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lonnen, Assigned: jezdez)

Details

`python manage.py test` fails unless you manually run collect static first. I didn't see it documented anywhere. We should document it, or preferably patch things so that collect static is part of the test suite.
This makes me cringe (having written staticfiles). Why do you need to have the static files at all? Oh I see, it's the test_favicon test. Going to take this one since it's easier to create the file for the test in STATIC_ROOT than to run collectstatic.
Assignee: nobody → jezdez
Commits pushed to master at https://github.com/mozilla/socorro-crashstats https://github.com/mozilla/socorro-crashstats/commit/7b2ec49dca9af17d3b181af4737de60a66e50566 bug 879596 - don't rely on collecting staticfiles if we can fake the favicon for the view test. https://github.com/mozilla/socorro-crashstats/commit/c9c4f6c69bc1917cdbfd9bc4c49a72e871dbc061 Merge pull request #378 from jezdez/bug879596-dont-rely-on-staticfiles bug 879596 - don't rely on collecting staticfiles if we can fake the favicon for the view test.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.