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

Feature/django 1.8 support #1

Open
wants to merge 97 commits into
base: master
Choose a base branch
from

Conversation

kamorin
Copy link

@kamorin kamorin commented May 17, 2016

No description provided.

edrmp and others added 30 commits October 31, 2013 16:34
When django.core.management.base.BaseCommand includes 'use_argparse',
then nose's optparse options are merged using argparse's
parser.add_argument in BaseCommand's overriden add_arguments method.

For Django 1.7 and earlier, the current .options method is used to set
the options.

Fixes jazzband#178.
Merge nose options into Django 1.8 argparse-based options
Removing creation.__class__ parameter.

Fix  jazzband#122
upgrade __version__ in __init__.py to 1.4.0
Django 1.9 pre-release support, switch Travis to tox
Fix jazzband#190 - assertJSONEqual -> assert_son_equal, add eq_ and ok_
Add coverage runs to runtests.sh.  Add a Makefile that includes `make
coverage` to run under coverage and combine outputs.  Add coverage and
coveralls to tox.ini.
eroninjapan and others added 30 commits October 7, 2015 09:44
Ignore optparse default when translating for argparse

Fixes jazzband#240
Fix that REUSE_DB=(empty) means false. And correct internal documentation.
* --keepdb (maybe replacement for REUSE_DB=1, fixes jazzband#244)
* --reverse (run in reverse order, ignored by nose)
* --debug-sql (SQL logging for failing tests)
When a long option is used without an equals sign (such as --processes 2
or --verbosity 2), the argument is passed to nose.  This only works in
Django 1.8 or later. For Django 1.7 and earlier, --verbosity is handled,
but the caller must use --option=value for other parameters.

Fixes jazzband#7
For Django 1.7 and earlier, hard-code the list of options that include a
parameter.

Fixes jazzband#7
In Django 1.8 and later, handle callback args by converting to
action=store, and dropping the callback arguments. Django should be
able to parse the command line without the callback, and then nose will
parse the command line and call the callback with any given options.

Fixes jazzband#223
Confirm that selection by attribute works. Fixes jazzband#142.
Drop support to match Django support policy.
Starting with Django 1.8, Django uses argparse, so the
optparse-compatible BaseRunner is not usable.
Django 1.10's test class no longer has option_list.
Fixes jazzband#254
Conflicts:
	README.rst
	django_nose/testcases.py
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

Successfully merging this pull request may close these issues.