Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Master with idna fix #1

Closed
wants to merge 118 commits into from
Closed

Master with idna fix #1

wants to merge 118 commits into from

Conversation

gbrady92
Copy link

@gbrady92 gbrady92 commented Jun 11, 2018

This is a temp fix to pin idna to a compatible version.

All details can be found here: psf/requests#4681

thehesiod and others added 30 commits August 10, 2017 15:04
* Correctly return all snapshots for a given DBInstanceIdentifier.
* If an invalid DBInstanceIdentifier is passed in, return an empty array
  instead of raising a ClientError (which is what AWS actually does).

Fixes getmoto#1569
The load() method provided by the built-in JSON module does not accept a
byte-type value in Python 3.5 (or versions before), and will raise an
exception if one is passed.

For details, please see: https://bugs.python.org/issue17909

Thus, for better compatibility, we'd better decode the content of the
JSON file before passing it to the parser, instead of letting the module
to guess the encoding.
This patch teaches `LogsResponse` class how to handle the DescribeLogGroups
request, so that we can mock out the `boto.describe_log_groups()` call.

With this change in place, we can write as below:

    @mock_logs
    def test_log_group():
        conn = boto3.client('logs', 'us-west-2')

        some_method_to_init_log_groups()

        resp = conn.describe_log_groups(logGroupNamePrefix='myapp')
        assert ...

This should be fairly useful for a number of programs which handles
CloudWatchLogs.

Signed-off-by: Fujimoto Seiji <fujimoto@clear-code.com>
* Add `restored_from_snapshot` boolean to Cluster metadata.
* Return `RestoreStatus` from describe_db_clusters if cluster was restored from a snapshot.

Fixes getmoto#1506
Boto does does not include the govcloud backends when displaying lambda
regions.  In order to test lambda with a govcloud region, the region
must be explicitly added.
The Email ``from`` header is either formatted as ``name <address>`` or ``address``.

This commit will use `parseaddr` to extract a ``(name, address)`` tuple, which we will use the ``address`` to check if it's verified.

Also support the case where ``Source`` is omitted (which AWS requires the ``from`` header to be set).
spulec and others added 29 commits June 3, 2018 20:43
…rmation

They need to have less than 32 character names, so when you don't specify a name
cloudformation generates a name that is less than 32 characters.

And make sure that flake8 passes
…e update

When you create an index via the table resource update, in python 3.6, it is saved as a `dict_value`,
which causes an error - this test replicates this bug
Added check for valid storage classes in set_key and copy_key
added unit test for standard storage and infrequent access
Fix security group rules for single rule case. Closes getmoto#1522.
SNS - Enforce 'Message too long' exception when publishing messages
…udformation-name

Correctly generate resource name for target groups when using cloudformation
…uery-bug-fix

Make dynamodb table indexes a list
…support

[WIP] Adding secretmanager support
@gbrady92 gbrady92 closed this Jun 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.