#35695: Running tests leaves empty unused directory behind
-------------------------------------+-------------------------------------
               Reporter:  Hisham     |          Owner:  Hisham Mahmood
  Mahmood                            |
                   Type:             |         Status:  assigned
  Cleanup/optimization               |
              Component:             |        Version:  dev
  Uncategorized                      |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Running `./runtests.py
 model_fields.test_filefield.FileFieldTests.test_delete_content_file`
 actually creates a file on disk and then deletes it leaving an empty
 `unused/` directory behind. No other tests in
 `model_fields.test_filefield.FileFieldTests` create any files on disk.

 I suggest that we move this to a temporary folder like done in
 https://github.com/django/django/pull/18396 but for `model_fields` instead
 of `model_forms`
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35695>
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/010701916fde51a5-c2f8f752-c88b-423a-a858-6ca8948603ff-000000%40eu-central-1.amazonses.com.

Reply via email to