#35402: DatabaseFeatures.django_test_skips crashes when it references a class in
another test module
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: jon-mcfee
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by jon-mcfee):
In the backends.base.test_creation.TestMarkTests, it seems like there is a
test for skipping a class.
"skip test class": {
"backends.base.test_creation.SkipTestClass",
}
Interestingly, this passes, yet the ImportError is still thrown for
seemingly the same behavior in django/db/backends/base/features.py. I
can't really understand why import_string accepts
"backends.base.test_creation", but fails on
"model_fields.test_decimalfield". Can anyone offer any advice?
--
Ticket URL: <https://code.djangoproject.com/ticket/35402#comment:3>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018f122a8db0-ee222214-5e26-4323-8667-d186c1e6d123-000000%40eu-central-1.amazonses.com.