This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
forked from getmoto/moto
-
Notifications
You must be signed in to change notification settings - Fork 1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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
…t other limitations in SQS APIs.
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).
…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
…lancer Extend support for ECS
…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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a temp fix to pin
idna
to a compatible version.All details can be found here: psf/requests#4681