You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using django-storages to upload some data. I would like to know if there is a proper way to mock s3 using moto in the tests. At the moment, I managed to mock the upload with boto3 only but when using it with the storage as I have no endpoint defined, it fails. I am not sure if I defined my fixtures with pytest correctly. If anyone has already tried that, I would be thankful for the help. If my question is unclear, please tell me.
Hi, I am using django-storages to upload some data. I would like to know if there is a proper way to mock s3 using moto in the tests. At the moment, I managed to mock the upload with boto3 only but when using it with the storage as I have no endpoint defined, it fails. I am not sure if I defined my fixtures with pytest correctly. If anyone has already tried that, I would be thankful for the help. If my question is unclear, please tell me.
Thanks in advance.
conftest.py
storage.py
utils.py
test.py
The text was updated successfully, but these errors were encountered: