#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. 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 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:1> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018db249e521-a6986d91-57f1-48b2-b43c-53a73ff459b3-000000%40eu-central-1.amazonses.com.