Thanks for letting me know, my eyes probably glazed over that paragraph, which is my own fault for not reading the docs more carefully XD
Sorry for wasting time Cal On Fri, May 2, 2014 at 9:52 PM, Chris Beaven <smileych...@gmail.com> wrote: > On Saturday, May 3, 2014 6:10:39 AM UTC+12, Cal Leeming [Simplicity Media > Ltd] wrote: >> >> This approach seems to work fine, but doesn't appear to be mentioned >> anywhere in the Django docs (or at least, I couldn't see it). >> >> Would this be a valid candidate for a docs patch? >> > > Hi Cal, > > The 1.6 release notes document the change: > https://docs.djangoproject.com/en/dev/releases/1.6/#discovery-of-tests-in-any-test-module > and there's also the following paragraph about it here: > https://docs.djangoproject.com/en/1.6/topics/testing/overview/#writing-tests > > When you run your tests, the default behavior of the test utility is to >> find all the test cases (that is, subclasses of unittest.TestCase) in any >> file whose name begins with test, automatically build a test suite out of >> those test cases, and run that suite. > > > We're assuming knowledge of Python's new standard discovery of tests, but > I guess it wouldn't hurt to explain it a bit more explicitly... > >> -- > You received this message because you are subscribed to the Google Groups > "Django developers" 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 http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/0d0a6104-f4c7-4e6d-914a-dd0a6ba18c92%40googlegroups.com<https://groups.google.com/d/msgid/django-developers/0d0a6104-f4c7-4e6d-914a-dd0a6ba18c92%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django developers" 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 http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAHKQagG8bcgigij%2Bduk5cDOje%2BiGHyPJ_pjhun4EDEA%3DZ2450w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.