Thumbnails for images and videos #87
@ -10,7 +10,6 @@ import files.models
|
||||
TEST_MEDIA_DIR = Path(__file__).resolve().parent / 'media'
|
||||
|
||||
|
||||
# Media file are physically deleted when files records are deleted, hence the override
|
||||
@override_settings(MEDIA_ROOT=TEST_MEDIA_DIR)
|
||||
class TasksTest(TestCase):
|
||||
@patch('files.utils.resize_image')
|
||||
|
Loading…
Reference in New Issue
Block a user