-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mock S3 with folder in dev/testing #171
Comments
It turns out that I didn't need this for the other issue, but for future reference, boto 1.10 has it's own nice stubber for s3. |
Finishing this puppy up, encountering an unexpected error in |
Finished - tests pass locally but die on Travis. Struggling with getting much info for it :/ |
Hi @fritzdavenport. Thanks for your work on this! |
* Update "Find an Officer" page * Update OpenOversight/app/templates/list_officer.html Co-authored-by: Madison Swain-Bowden <[email protected]> Co-authored-by: Madison Swain-Bowden <[email protected]>
In PR #169 I added this
serve_image
function inutils.py
that generates a path for the files stored locally in thestatic/
folder. However in prod and staging images are actually stored on S3. It'd be nice to better mock the S3 setup in dev/testing to be as close as possible to prod/staging (suggested by @r4v5).The text was updated successfully, but these errors were encountered: