+1 from me, I'm okay with the small breaking change to keep in-line with upstream unittest. Since it's restricted to tests, it's unlikely to break anyone's production site.
On Mon, 11 Mar 2019 at 12:19, Carlton Gibson <carlton.gib...@gmail.com> wrote: > Thanks François, > > Just on this, my thought is that if we don't follow `unittest` in changing > `-k` for this, we have a steady trickle of confusion forever-more. > I'd rather avoid that. > > C. > > On Monday, 11 March 2019 13:14:01 UTC+1, François Freitag wrote: >> >> Hi Django Devs, >> >> https://code.djangoproject.com/ticket/30245 suggests supporting Python >> unittest `-k` option, to selectively run tests matching a keyword. >> >> Currently, `-k` is the shorthand for `--keepdb` in Django. >> A `--filter` flag was suggested to preserve backward compatibility. >> Carlton suggested removing the `-k` option from `--keepdb` and reusing >> it for unittest `-k`. That would follow unittest more closely, reduce >> user confusion and ease maintenance. >> >> What do you think is best? Do you see other options? >> >> If re-taking the `-k` option for unittest `-k`, should a new shorthand >> be introduced for `--keepdb`? >> >> Thanks for your time, >> François >> > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at https://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/c54e52d2-012a-4852-9375-be37add55945%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/c54e52d2-012a-4852-9375-be37add55945%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAMyDDM3OdLXijQeNkckCoce-FptLbkpG7P%3Dy2F1KXU%2BnZhgb%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.