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

-k command line argument is not being handled properly #293

Open
yuriiz opened this issue May 7, 2018 · 0 comments
Open

-k command line argument is not being handled properly #293

yuriiz opened this issue May 7, 2018 · 0 comments

Comments

@yuriiz
Copy link

yuriiz commented May 7, 2018

./manage.py test -h with django-nose says this argument should be accepted:
-k, --keepdb Preserves the test DB between runs.
However only long version of it seems to work.
Passing -k results in:

$ bin/python manage.py test -k
nosetests -k --verbosity=1
Usage: manage.py [options]

manage.py: error: no such option: -k

It seems -k is being wrongly passed to nosetests which do not accept it.
Please make behaviour consistent with manage.py test --help and handle short version of --keepdb work too.
Tested with latest version from PyPi (django-nose==1.4.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant