Fixes passing parameters to Nose when running tests.

Review Request #995 — Created Aug. 25, 2009 and submitted

Information

Review Board
http://github.com/obvio171/reviewboard/tree/nose_bug

Reviewers

(This revreq already got a "ShipIt" from David Trowbridge; awaiting integration upstream)

Fixes passing parameters to Nose when running tests.

./manage.py captures any parameter passed before an optional "--", so
running:

./manage.py test -s

to pass the -s to nose (to make it not capture stdout) doesn't work,
and manage.py dies with a "no such option" error. With this fix, this
works:

./manage.py test -- -s

Reviewed at: http://reviews.review-board.org/r/995
Ran ./manage.py test -- -s and nose ran without capturing stdout.
HE
david
  1. So, I don't know if Christian has given you push access to the clone under the 'reviewboard' account, but if not, it's probably easiest if you push this to your fork on github, then I can merge it into the main fork.
    1. Come get us on IRC and we'll set you up.
  2. 
      
HE
Review request changed
Branch:
http://github.com/obvio171/reviewboard/tree/nose_bug
david
  1. Merged into master. Thanks!
  2.