#25493: Model instances created with unittest.mock can raise confusing errors
-------------------------------------+-------------------------------------
Reporter: Josh Smeaton | Owner: Marcelo
Type: | Galigniana
Cleanup/optimization | Status: assigned
Component: Database layer | Version: 1.9
(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 Marcelo Galigniana):
Sorry for the delay. Thank you Adam!
> it’s your responsibility to make that work. I don’t believe we should
try to make the ORM more compatible with parts being mocked
Totally agree!
Should we document this on some way? Or simply close this issue?
Thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/25493#comment:6>
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/0107018defcb91f8-a84b0cd6-64d9-4e57-bc9e-ee0c2babe60e-000000%40eu-central-1.amazonses.com.