#35722: Specify behaviour in TransactionTestCase.reset_sequences
-------------------------------------+-------------------------------------
Reporter: Slava M. | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: docs, test, | Triage Stage:
documentation | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
If we are to add a note about subTest, I'm not entirely convinced it's
needed, I believe we should only focus on the behavior of
`reset_sequences` but all the database isolation features that
`TransactionTestCase` and `TestCase` does provide within the context of
distinct `test_` method. In other words, no per `subTest` data isolation
(sequence, transactions, mailbox, etc) is implemented and within the
context of a `TransactionTestCase` and friends a `subTest` context is
solely a manner to annotate part of a test case method body with some
context.
--
Ticket URL: <https://code.djangoproject.com/ticket/35722#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/01070191a37d4d07-1b7579b9-2df3-45e6-b97d-ccd3b65ce646-000000%40eu-central-1.amazonses.com.