I have found this package useful in speeding up tests that deal with file
storage, but it appears to be unmaintained.
--
Ticket URL: <https://code.djangoproject.com/ticket/34110>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by Paolo Melchiorre):
I agree with the proposal and I have sent an email to the django developer
list for feedback
https://groups.google.com/g/django-developers/c/KzwdJCxzgu4/m/qUROzQBlCQAJ
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:1>
* cc: Paolo Melchiorre (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:2>
* owner: nobody => skidipap
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:3>
* owner: skidipap => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:4>
* stage: Unreviewed => Accepted
Comment:
Tentatively accepted, based on the feedback from the mailing list.
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:3>
Comment (by Shai Berger):
Consider also #23251 where the issue of storage in tests is addressed more
comprehensively
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:4>
* owner: nobody => Francesco Panico
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:5>
* cc: Francesco Panico (added)
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/16262 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:6>
* needs_better_patch: 0 => 1
* needs_docs: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"032c09c4144eaa278a64b9a4bef838341b35d175" 032c09c4]:
{{{
#!CommitTicketReference repository=""
revision="032c09c4144eaa278a64b9a4bef838341b35d175"
Refs #34110 -- Reorganized django.core.files.storage into a separate
module.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:8>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"99b4f90ec6b96e8c2a9f22b360d4eb5589763034" 99b4f90e]:
{{{
#!CommitTicketReference repository=""
revision="99b4f90ec6b96e8c2a9f22b360d4eb5589763034"
Refs #34110 -- Added StorageSettingsMixin.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:9>
* needs_better_patch: 1 => 0
* needs_docs: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:10>
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:11>
* needs_better_patch: 1 => 0
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:12>
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:13>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:14>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:15>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:16>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:17>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"72efd840a8cb6ee35a3732d8bb434e7361970b3c" 72efd840]:
{{{
#!CommitTicketReference repository=""
revision="72efd840a8cb6ee35a3732d8bb434e7361970b3c"
Fixed #34110 -- Added in-memory file storage.
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for
reviews.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34110#comment:18>