#19296: LiveServerTestCase does not share connection to sqlite if using
spatialite
-------------------------------------+-------------------------------------
Reporter: pegler@… | Owner: pegler
Type: Bug | Status: new
Component: Testing framework | Version: 1.4
Severity: Normal | Resolution:
Keywords: sqlite spatialite | Triage Stage: Accepted
LiveServerTestCase | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by pegler):
* has_patch: 0 => 1
Comment:
I added a patch that fixes this. I was unsure how to write a test for
this. Conceivably the test could start a LiveServer and override the
default database to be spatialite and then make sure that a particular
view loads data from the DB correctly. This test is in core and geodjango
is in contrib, so I was not sure where the test should go or if it was
reasonable to require spatialite be installed in order to run the tests of
django core. Please advise on what test is required for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/19296#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.