#29882: UDFs are not dumped to the clone MySQL test db
-------------------------------------+-------------------------------------
Reporter: thomazzo | Owner: Dan Davis
Type: Bug | Status: assigned
Component: Database layer | Version: 2.1
(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 Adam (Chainz) Johnson):
That looks the right place to add a test. Since these tests are true unit
tests and not actually calling `mysqldump`, you only need test that the
`--routines` argument is passed to a mock for `subprocess.Popen`.
But I'd even be tempted to not add a test, we often don't for features
that heavily rely on other systems - instead you can confirm the
functionality works for an example project like you made before. Since the
change is so small and pretty non-offensive, that should be fine.
--
Ticket URL: <https://code.djangoproject.com/ticket/29882#comment:9>
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/066.99efd9a9384a0c74ca0577da3ba999b2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.