Commit Graph

4298 Commits

Author SHA1 Message Date
Bert Blommers
997177e43e #847 - Fix tests to be compatible with python3 2019-10-23 02:26:26 -07:00
Bert Blommers
730c4be1a3 #847 - DynamoDB - Implement list_append feature when updating 2019-10-23 09:12:03 +01:00
Bert Blommers
b927ec99b5
Merge pull request #10 from spulec/master
Merge upstream
2019-10-23 08:00:02 +01:00
Jack Danger
b6fe526add
Merge pull request #2502 from bblommers/feature/lambda-delete-by-arn
Feature - Lambda Delete by arn
2019-10-22 16:02:33 -07:00
Jack Danger
a5d4a68922
Merge pull request #2501 from edekadigital/add-iam-virtual-mfa-device
Add iam virtual mfa device
2019-10-22 16:01:31 -07:00
Mike Grima
57dc6522f2
Merge pull request #2505 from mikegrima/configFix
Fixed a bug with S3 bucket policies for AWS Config
2019-10-22 15:53:18 -07:00
Mike Grima
9273db7e61 Fixed a bug with S3 bucket policies for AWS Config 2019-10-22 15:01:39 -07:00
Jack Danger
00045ae480
Merge branch 'master' into add-iam-virtual-mfa-device 2019-10-22 14:54:10 -07:00
Jack Danger
37dd02b2ce
Updating IMPLEMENTATION_COVERAGE.md (#2507)
Includes a fix for the script that generates this file.
2019-10-22 14:51:30 -07:00
Jack Danger
4d0099499f
Athena - implementing first two endpoints (#2506)
This implements create_work_group() and list_work_groups()
2019-10-22 14:37:29 -07:00
Jack Danger
a05c7da3bb
Implement support for lambda policies (#2471)
* Implement support for lambda policies

* Fixing two tests that weren't running

* Getting tests running under Python 2.7
2019-10-22 14:09:44 -07:00
Bert Blommers
64cf1fc2c9 Refactor DynamoDB update expressions (#2497)
* Refactor DynamoDB.update to use recursive method for nested updates

* Simplify DynamoDB.update_item logic
2019-10-22 12:40:41 -07:00
George Hickman
9e4860ccd8 Add Documentation URL (#2499)
This adds a [Documentation URL](https://packaging.python.org/guides/distributing-packages-using-setuptools/#project-urls), which will display in the left-hand nav of the projects PyPI page, allowing users arriving there to get to the documentation slightly faster.
2019-10-22 12:31:48 -07:00
Mike Grima
a7fa132535
Merge pull request #2500 from bmwiedemann/ssl2049
Extend test cert validity to 2049
2019-10-22 11:39:35 -07:00
Mike Grima
fbc3301562
Merge pull request #2504 from csmurton/add-iam-delete-entity-constraints
Conflict detection for IAM delete_role and delete_user
2019-10-22 09:59:07 -07:00
Mike Grima
1cde5d37eb
Merge pull request #2483 from thincal/fix/list-objects-with-truncation
s3 list_object: return the NextMarker info if it's truncated
2019-10-22 09:57:15 -07:00
Chris Murton
f0b22fcd2f Fix absent role deletion, Add more delete_user tests, add no conflict deletion testing 2019-10-22 15:28:59 +01:00
Chris Murton
ccdcb7ca60 Add conflict detection on IAM delete_role and delete_user 2019-10-22 14:27:49 +01:00
Bert Blommers
ce4bd5d64c AWS Lambda - Allow function deletions by ARN 2019-10-22 09:31:37 +01:00
Bert Blommers
21d2fac468
Merge pull request #9 from spulec/master
Merge upstream
2019-10-22 07:36:30 +01:00
gruebel
802fb3baad Connect user with virtual mfa device 2019-10-21 22:51:00 +02:00
gruebel
1d9382b5e5 Add iam.list_virtual_mfa_devices 2019-10-21 21:48:50 +02:00
Bernhard M. Wiedemann
951a5a6b00 Extend test cert validity to 2049
to make tests pass in 2027

Background:
As part of my work on reproducible builds for openSUSE, I check
that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect
some software will be used in some places.
This showed up failing tests in our package build.

See https://reproducible-builds.org/ for why this matters.

Note: I tested that i586 builds still pass tests on 2036-12-01
so are not affected by the year 2038 bug yet.

i586 builds in 2037 suffer from a y2038 bug (unrelated to this change):
 botocore/utils.py parse_timestamp threw a
  ValueError: Invalid timestamp "2174774434": Parser must be a string or character stream, not long
2019-10-21 17:12:16 +02:00
LS
b3ea4c2707 add unit test for s3 list_object with truncation 2019-10-21 15:10:26 +08:00
LS
d3ed7ee240 s3 list_object: return the NextMarker info if it's truncated 2019-10-21 09:40:05 +08:00
gruebel
c80135a6db Add iam.delete_virtual_mfa_device 2019-10-20 23:03:20 +02:00
gruebel
9671730f16 Add iam.create_virtual_mfa_device 2019-10-20 22:39:57 +02:00
Steve Pulec
b433399cb5
Merge pull request #2494 from edekadigital/add-iam-open-id-connect-provider
Add iam open id connect provider
2019-10-19 07:54:45 -05:00
gruebel
3f3feb5bdb Fix tests 2019-10-19 14:23:35 +02:00
gruebel
cd8027ce9d Add iam.list_open_id_connect_providers 2019-10-18 21:15:48 +02:00
gruebel
f4af9a1d54 Add iam.delete_open_id_connect_provider 2019-10-18 21:15:48 +02:00
gruebel
c492c5c228 Add iam.get_open_id_connect_provider 2019-10-18 21:15:05 +02:00
gruebel
bd627b65f7 Add iam.create_open_id_connect_provider 2019-10-18 21:15:05 +02:00
Mike Grima
4dd347e1fe
Merge pull request #2487 from bblommers/feature/iam_delete_policy
Feature - [IAM] Delete Policy
2019-10-18 09:53:51 -07:00
Mike Grima
4ec52b946d
Merge pull request #2492 from edekadigital/fix_deprecation_warning
fix deprication warning invalid escape sequence
2019-10-18 09:53:07 -07:00
Mike Grima
484da34022
Merge pull request #2491 from bblommers/bugfix/250
DynamoDB - Add validation for Query Key Expression
2019-10-18 09:52:23 -07:00
Mike Grima
c4665366a9
Merge pull request #2490 from cclauss/patch-1
Use ==/!= to compare str, bytes, and int literals
2019-10-18 09:51:28 -07:00
Mike Grima
382fe5bd68
Merge pull request #2481 from aacampbell/fix_getsecretmananger_error
Fix getsecretmananger error
2019-10-18 09:50:43 -07:00
Mike Grima
e469a64ed5
Merge pull request #2488 from edekadigital/add-sqs-error-handling
Add sqs error handling
2019-10-18 09:49:17 -07:00
Selena
e64b9ca0ef fix deprication warning invalid escape sequence
fix #2489
2019-10-18 12:52:05 +02:00
Bert Blommers
db206e994b #250 - DynamoDB - Add check for valid query keyconditionexpression 2019-10-18 09:58:09 +01:00
Bert Blommers
deffefbfb8
PR changes 2019-10-18 09:18:12 +01:00
gruebel
ed1c799bdc CR fix 2019-10-18 09:04:29 +02:00
Christian Clauss
c3c75c12d9
Use ==/!= to compare str, bytes, and int literals
Python 3.8 will probably [raise SyntaxWarnings](https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior) on the flake8 F632 issue raised below.

[flake8](http://flake8.pycqa.org) testing of https://github.com/spulec/moto on Python 3.7.1

$ __flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
./tests/test_awslambda/test_lambda.py:1137:24: F632 use ==/!= to compare str, bytes, and int literals
                assert len(messages) is 3
                       ^
1     F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-10-18 09:03:31 +02:00
Alexander Campbell
30853a0b5c Use specialised exception for "secret has no value" scenario 2019-10-18 12:06:12 +11:00
Alexander Campbell
6120a60263 Use escape sequence to express non-ASCII character 2019-10-18 10:17:49 +11:00
Alexander Campbell
4eb921480e Use specific exception to prevent repetition 2019-10-18 10:17:45 +11:00
gruebel
05dc97b468 Update implementation coverage 2019-10-17 22:41:46 +02:00
gruebel
19a34ea57a Add error handling for sqs.list_queue_tags 2019-10-17 22:38:16 +02:00
gruebel
dbfb319def Add error handling for sqs.tag_queue 2019-10-17 22:36:37 +02:00