#23792: Create contextmanager to freeze time.time() in tests
--------------------------------------+------------------------------------
Reporter: tchaumeny | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):
* component: Uncategorized => Testing framework
* stage: Unreviewed => Accepted
Comment:
The contextmanager approach looks good, but formtools is being split into
a separate repo (#23677). If formtools is going to use this, then I guess
we should make this a public API. What do you think?
I created [https://github.com/django/django-formtools/issues/30 a ticket
in the django-formtools] issue tracker.
--
Ticket URL: <https://code.djangoproject.com/ticket/23792#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 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/067.fd6386db7357d3e18755f821a1d2b34e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.