#35222: Update tablespaces tests
-------------------------------------+-------------------------------------
Reporter: bcail | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by bcail:
Old description:
> Tablespaces tests currently have a note saying that DEFAULT_TABLESPACE
> and DEFAULT_INDEX_TABLESPACE can't be tested. The test models are marked
> as unmanaged, then changed to managed, ...
>
> Couldn't we re-write these tests using models defined in the test, so
> these issues would go away? I'm thinking of something like in the schema
> tests.
>
> I came across this issue when working on ticket #20960.
>
> (Note: I had to take out the URLs because they're being rejected as
> "potential spam.")
New description:
Tablespaces tests currently have a note saying that DEFAULT_TABLESPACE and
DEFAULT_INDEX_TABLESPACE can't be tested. The test models are marked as
unmanaged, then changed to managed, ...
Couldn't we re-write these tests using models defined in the test, so
these issues would go away? I'm thinking of something like what's used in
the schema tests.
I came across this issue when working on ticket #20960.
(Note: I had to take out the URLs because they're being rejected as
"potential spam.")
--
--
Ticket URL: <https://code.djangoproject.com/ticket/35222#comment:2>
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/0107018db24abdfa-0cc12fb2-5fbf-4bbd-a888-680cf3a50c76-000000%40eu-central-1.amazonses.com.