scottwernervt / cloudstorage

Unified cloud storage API for storage services.
http://cloudstorage.readthedocs.io/en/latest/
MIT License
93 stars 27 forks source link

Tests: AWS random failure for test_container_delete #36

Open scottwernervt opened 5 years ago

scottwernervt commented 5 years ago

https://travis-ci.org/scottwernervt/cloudstorage/jobs/461520001

=================================== FAILURES ===================================
____________________________ test_container_delete _____________________________
tests/test_drivers_amazon.py:86: in test_container_delete
    assert container.name not in storage
.tox/py35/lib/python3.5/site-packages/cloudstorage/base.py:969: in __contains__
    self.get_container(container_name=container_name)
.tox/py35/lib/python3.5/site-packages/cloudstorage/drivers/amazon.py:271: in get_container
    return self._make_container(bucket)
.tox/py35/lib/python3.5/site-packages/cloudstorage/drivers/amazon.py:201: in _make_container
    created_at = bucket.creation_date.astimezone(tz=None)
E   AttributeError: 'NoneType' object has no attribute 'astimezone'