forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test failures from mock 1.3.0 upgrade
This upgrades mock to version 1.3.0 which is what's used in botocore and boto3. This was causing subtle test falures depending on if you installed CLI->botocore vs. botocore->CLI. The latest version of mock, 1.3.0, is more strict in error validation. Specifically, any mock method that starts with "assert" will now raise AttributeErrors if they don't exist on the mock object. Our code was using a couple of non-existent assertion methods that were inadvertently passing (because they just return a new mock object).
- Loading branch information
Showing
4 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
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