Bjorn Olsen
9c00f572d6
First working tests!
2019-11-01 19:24:21 +02:00
Steve Pulec
e00af2f73c
Merge pull request #2518 from asherf/run-black
...
Run black linter and enforce going forward
2019-10-31 17:39:22 -05:00
Asher Foa
96e5b1993d
Run black on moto & test directories.
2019-10-31 10:36:05 -07:00
Asher Foa
c820395dbf
Run black linter and enforce going forward
2019-10-31 08:46:14 -07:00
Steve Pulec
54c8a7dea1
Merge pull request #2519 from yan12125/python38
...
Python 3.8 support
2019-10-30 22:52:40 -05:00
Steve Pulec
0e42f7fd53
Merge pull request #2523 from PMende/master
...
Remove newlines from XML responses
2019-10-30 22:29:27 -05:00
Patrick Mende
5cccb03c91
Remove newlines from XML responses
...
This is a second attempt at resolving the issues with producing an XML consistent with what is produced from AWS (i.e., no spaces/new lines between tags). Another attempt (https://github.com/spulec/moto/pull/2205 ) is currently failing in tests.
This attempt uses precompiled regex patterns as class attributes of the `_TemplateEnvironmentMixin` to remove trailing spaces and newlines after a `">"`, and preceding newlines/spaces before a `"<"`. This *explicitly* wasn't done with a single regex to ensure that even things like `"...<ID>\n 12345\n </ID>"` are properly collapsed.
2019-10-30 14:08:24 -07:00
Mike Grima
8f3116220c
Merge pull request #2520 from edekadigital/refactor-sqs
...
Refactor sqs
2019-10-30 09:54:41 -07:00
gruebel
86e53c3db3
Remove dead code
2019-10-30 17:37:38 +01:00
Mike Grima
c613a43cb3
Merge pull request #2522 from mikegrima/configs3tagging
...
Small fix for S3-AWS Config compatibility
2019-10-29 15:40:51 -07:00
Mike Grima
513f6d58ac
Merge pull request #2517 from edekadigital/fix-sns-permissions
...
Fix sns.add_permission & remove_permission
2019-10-29 14:41:47 -07:00
Mike Grima
503bc333ca
Small fix for S3-AWS Config compatibility
...
- Small bug in tags with AWS Config
- Aggregated results lack "tags" in the result set
- Buckets also add a supplementary configuration of
"BucketTaggingConfiguration"
2019-10-29 14:35:13 -07:00
gruebel
c5059ad3d1
Fix test server error
2019-10-28 17:21:01 +01:00
Chih-Hsuan Yen
8313142f44
Use Buster container images for Python 3.8
2019-10-27 23:34:30 +08:00
Chih-Hsuan Yen
84fb52d0a2
Fix remaining flake8 issues
...
Disabling W504 and W605 for now as there are too many instances.
2019-10-27 21:00:01 +08:00
Chih-Hsuan Yen
18173a5951
Replace # flake8: noqa
with # noqa
...
The former syntax is actually a mis-use and rejected since Flake8 3.6
[1].
[1] https://gitlab.com/pycqa/flake8/merge_requests/219
2019-10-27 20:41:22 +08:00
Chih-Hsuan Yen
61698f955e
Use new flake8 for Python 3.8 compatibility
...
With the current flake8, which depends on pyflakes<1.7.0,>=1.5.0,
linting fails with:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
The issue is fixed in pyflakes 2.1.0 [1]. Let's just use the latest
flake8.
[1] 7c74ab0ddc
2019-10-27 20:00:20 +08:00
gruebel
51117c948a
Add error handling to sqs.delete_message
2019-10-27 12:46:59 +01:00
Chih-Hsuan Yen
f1ebe8d946
Enable Travis CI tests for Pytho 3.8
2019-10-27 19:38:16 +08:00
gruebel
c3cb411c07
Refactor sqs.get_queue_attributes & add AttributeNames handling
2019-10-27 12:13:33 +01:00
Chih-Hsuan Yen
77bc97c8da
Fix ECR models for Python 3.8
...
Before this fix, using moto.ecr with Python 3.8 results in the
following error:
RuntimeError: dictionary keys changed during iteration
2019-10-27 16:58:03 +08:00
gruebel
6573f69087
Refactor sqs.get_queue_url
2019-10-26 22:26:48 +02:00
gruebel
23978e644f
Refactor sqs.send_message_batch
2019-10-26 22:08:45 +02:00
gruebel
6b7294a018
Fix sns.add_permission & remove_permission
2019-10-25 17:57:50 +02:00
Mike Grima
6b67002a42
Merge pull request #2515 from Sytten/fix/delete_iot_principal_thing
...
Detach principal from thing when it is deleted
2019-10-24 12:23:09 -07:00
Emile Fugulin
2d5e2e9c2b
Detach principal from thing when it is deleted
2019-10-24 13:59:30 -04:00
Mike Grima
3834c74dc2
Merge pull request #2513 from mikegrima/configs3fix
...
Fixed bugs in AWS Config Querying
2019-10-24 10:09:37 -07:00
Mike Grima
e9dc0c9a3a
Fixed bugs in AWS Config Querying
...
- Fixed some log bugs in the Config querying APIs
- Fixed an issue with S3 ACLs when described from Config (it's actually
a double-wrapped JSON)
2019-10-23 22:32:45 -07:00
Jack Danger
577f81a18b
Merge pull request #2512 from JackDanger/jackdanger/flaky-test-fix---random-bytes-can-look-like-base64
...
Flaky test fix: random bytes can look like base64
2019-10-23 16:34:30 -07:00
Jack Danger
d99204369d
Flaky test fix: random bytes can look like base64
2019-10-23 16:33:09 -07:00
Jack Danger
902a35d5b9
Merge pull request #2493 from edekadigital/filter_logs_raises_if_filter_pattern
...
add NotImplementedError when filter_pattern is given to filter_log_events
2019-10-23 15:23:45 -07:00
Jack Danger
8ecd882a82
Merge pull request #2508 from bblommers/refactor-dynamodb-update-documentation
...
Refactor dynamodb update documentation
2019-10-23 15:21:06 -07:00
Jack Danger
61f153f168
Merge pull request #2509 from bblommers/feature/847
...
DynamoDB - Support list_append operation
2019-10-23 15:20:37 -07:00
Jack Danger
1ad7a47f52
Merge pull request #2511 from qnordic/dynamodb-comparisons-for-python3
...
Fixing comparisons for python 3 in dynamodb Issue 2510
2019-10-23 15:19:55 -07:00
cqueitzsch
8b2b9d3618
Fixing comparisons for python 3 in dynamodb
2019-10-23 12:59:19 -07:00
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
e01fe02653
DynamoDB - Update doc for update-method
2019-10-23 08:06:15 +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