#25674: regression in test discovery
-----------------------------------+--------------------
Reporter: brian | Owner: nobody
Type: Bug | Status: new
Component: Testing framework | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+--------------------
I looked through https://docs.djangoproject.com/en/1.8/releases/1.8/ and
didn't find anything - apologies if I missed something.
Looking at django-guardian project from https://github.com/django-guardian
/django-guardian/tree/v1.3 - the latest release
If I run the tests using Django 1.7, all the tests run.
If I run the tests using Django 1.8 and Python 2.7 or Python 3.4, it can't
find any of the tests.
If I run the tests using Django 1.8 and Python 3.5 it can find the tests.
The tests, fail badly for Django 1.8 however that is not the point of this
ticket; rather the point is that the tests are not discovered with Django
1.8 unless Python 3.5 is used. This would appear to be a regression.
Or if this is not a regression, please tell me what I missed.
The tests are in guardian/testapp/tests/__init__.py which selectively
imports from *_test.py files.
I also filled a bug report at django-guardian, see https://github.com
/django-guardian/django-guardian/issues/356
--
Ticket URL: <https://code.djangoproject.com/ticket/25674>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.736b313fa8c39de452089b326daddcae%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.