Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

- Added test_s3.py file which tests the S3Storage library using moto #100

Closed
wants to merge 2 commits into from

Commits on Oct 13, 2013

  1. - Added test_s3.py file which tests the S3Storage library using moto

     * The methods stream_write and stream_read are not supported by moto yet
     * The s3_access_key and s3_secret_key must be lower case in order to perform the tests.
     - Removed the test/s3.py file
     - Added a little trick to the function get_size() from S3Storage() class
    rogaha committed Oct 13, 2013
    Configuration menu
    Copy the full SHA
    6cedba5 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2013

  1. Added some improvements and validations to the s3 unittest

    - Added to the load() method from storage a custom config_data support
    - Added method check_env_variables() which checks if the environment variables exist in order to avoid error during the s3_storage tests
    - Created a patched version of get_size() method on test_s3.py file
    - Removed the patch from the S3Storage() class
    - Added the moto library to the requirements file
    - Added missing decorator above test_errors() method
    rogaha committed Oct 14, 2013
    Configuration menu
    Copy the full SHA
    99ed778 View commit details
    Browse the repository at this point in the history