1. David Larlet
  2. django-storages
  3. Issues


Issue #137 new

Unit test infinite loop with FILE_OVERWRITE set to TRUE

Anonymous created an issue

if FILE_OVERWRITE is set to True then test S3BotoStorageTests.test_storage_save freezes in a infinite loop. The problem is in Storage.get_available_name, since self.exists(name) returns a MOCK object it will always evaluate to True so that loop will be inifinite

Comments (1)

  1. Log in to comment