#23251: Use a temporary folder to store uploaded files during tests
-------------------------------------+------------------------------------
     Reporter:  shai                 |                    Owner:
         Type:  Bug                  |                   Status:  new
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  file storage upload  |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+------------------------------------
Changes (by mjtamlyn):

 * cc: mjtamlyn (added)


Comment:

 As discussed on the mailing list[1] this links nicely to the idea of a
 `STORAGES` setting, and a new temp storage backend for testing purposes
 like some of our other dummy back ends.

 I think it also relates to ideas in #24721 about test extensions, so that
 the temo storage could (optionally?) be cleared in
 teardown/teardowntestdata or similar.

--
Ticket URL: <https://code.djangoproject.com/ticket/23251#comment:6>
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/062.221b9433131b871c692741275925da7a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to