Commit Graph

4132 Commits

Author SHA1 Message Date
Chih-Hsuan Yen
92bf8eff12
setup.py: remove unnecessary 'datetime' entry
This entry is added in [1]. New statements in [1] use the built-in datetime module, which is available since Python 2.3 [2]. On the other hand, when running `pip install moto`, pip installs Zope Datetime module [3], which is unnecessary.

[1] ed93821621
[2] https://docs.python.org/2.7/library/datetime.html
[3] https://pypi.org/project/DateTime/
2019-07-12 11:48:07 +08:00
Steve Pulec
396cb39676
Merge pull request #2296 from bkovacki/create-rds-with-option-group
Add support for OptionGroupName in create_db_instance
2019-07-11 19:56:41 -05:00
Berislav Kovacki
4fd0b5c710 Add support for OptionGroupName in create_db_instance 2019-07-11 22:43:42 +02:00
Steve Pulec
2a0df1e1a8 Flip when we test passthru. 2019-07-11 10:09:01 -05:00
Garrett Heel
0093a7992f dynamodb2: Defer evaluation of the OR RHS in condition expr 2019-07-11 08:29:07 -04:00
acsbendi
9d992c9335 Fixed error on single (non-list) Statements. 2019-07-11 14:22:42 +02:00
acsbendi
59f091bdea Default INITIAL_NO_AUTH_ACTION_COUNT should be infinity. 2019-07-11 13:58:57 +02:00
Mariusz Strzelecki
f32db6e64a Raising MalformedXML exception when using boto3 client and s3.delete_objects() 2019-07-11 09:53:23 +02:00
Steve Pulec
11506e21d5 Only test passthrough exception in non-server mode. 2019-07-10 22:45:26 -05:00
Steve Pulec
108dc6b049 Prep for 1.3.11 2019-07-10 22:18:24 -05:00
Steve Pulec
ab67c1b26e 1.3.10 2019-07-10 22:04:31 -05:00
Steve Pulec
c7147b06b1 Cleanup responses mocking. Closes #1567
This unblocks requests to other websites with requests while Moto
is activated. It also adds a wildcard for AWS services to still
ensure no accidental requests are made for unmocked services
2019-07-10 21:59:25 -05:00
Steve Pulec
c2e382f537 Dont test context manager in server mode. 2019-07-10 21:40:49 -05:00
Steve Pulec
b19c201975 Cleanup model ref resetting. 2019-07-10 21:16:11 -05:00
acsbendi
bec0c5a273 Fixed S3 actions not handled properly. 2019-07-10 20:42:23 +02:00
Steve Pulec
308712841c Have context manager return mock. 2019-07-09 20:31:43 -05:00
Steve Pulec
12aa5dddf7
Merge pull request #2289 from spulec/fix-2275
Fix for UpdateExpression with newline. Closes #2275.
2019-07-09 19:58:32 -05:00
Steve Pulec
6a13d54616
Merge pull request #2266 from garrettheel/feat/dynamodb-expressions
Improve DynamoDB condition expression support
2019-07-09 18:22:55 -05:00
Steve Pulec
53f8997d62 Fix for UpdateExpression with newline. Closes #2275. 2019-07-09 18:21:00 -05:00
acsbendi
947e26ce1b Removed unused exception. 2019-07-09 19:46:04 +02:00
acsbendi
1df4e8da2f Fixed bugs in processing policies belonging to assumed roles. 2019-07-09 19:44:23 +02:00
Garrett Heel
ba95c945f9 remove dead code 2019-07-09 09:20:35 -04:00
Steve Pulec
e77c4e3d09 Add getting setup to contributing. 2019-07-08 20:42:36 -05:00
Steve Pulec
d758952d84
Merge pull request #2287 from bkovacki/add-instance-create-time-to-db-instance
Add InstanceCreateTime to DBInstance
2019-07-08 19:43:07 -05:00
Berislav Kovacki
c51ce76ee9 Add InstanceCreateTime to DBInstance 2019-07-09 02:10:33 +02:00
Steve Pulec
7bb2b9dc8c
Merge pull request #2016 from adriangalera/ses->sns
Enable SES feedback via SNS
2019-07-08 19:00:58 -05:00
Steve Pulec
a9ec1c7ee7
Merge pull request #2082 from markchalloner/mark-alias-target
Fix route53 alias response.
2019-07-08 18:27:22 -05:00
Steve Pulec
841eaf3886
Merge pull request #2286 from acsbendi/assume-role-fix
AssumeRole returns randomly generated credentials.
2019-07-08 18:23:15 -05:00
Steve Pulec
8c61bce1a2
Merge pull request #2276 from aakhan-sep/master
Implement If-Modified-Since in GET Object for S3 Bucket
2019-07-08 18:22:44 -05:00
acsbendi
23957fe940 Implemented finding credentials from already created IAM users and roles. 2019-07-08 19:57:14 +02:00
Steve Pulec
8b2ddb7579
Merge pull request #2156 from william-richard/set-lambda-function-physical-resource-id
Set lambda function physical resource id
2019-07-08 10:32:55 -05:00
Bendegúz Ács
4ccf48e46b
Merge pull request #8 from acsbendi/assume-role-fix
AssumeRole returns randomly generated credentials.
2019-07-08 17:06:08 +02:00
acsbendi
ab0d23a0ba AssumeRole returns randomly generated credentials. 2019-07-08 16:32:25 +02:00
acsbendi
0d03a31bae Merge branch 'spulec-master' 2019-07-08 13:40:27 +02:00
acsbendi
e64d1c1790 Merged upstream master 2019-07-08 13:40:19 +02:00
Steve Pulec
414ff930ed
Merge branch 'master' into mark-alias-target 2019-07-07 23:11:53 -05:00
Steve Pulec
ac33845367
Merge pull request #2070 from bkovacki/add-attributes-parameter-for-sns-create_topic-api
Add attributes parameter support for sns create_topic API
2019-07-07 23:04:40 -05:00
Steve Pulec
d7af2870f8
Merge pull request #2243 from hjarrell/master
Add CreateDate to iam list_groups_for_user.
2019-07-07 23:02:29 -05:00
Steve Pulec
8d06e6e93d
Merge branch 'master' into set-lambda-function-physical-resource-id 2019-07-07 23:00:26 -05:00
Steve Pulec
1cbfa4a4ae
Merge pull request #1886 from jonafato/python-versions
Add Python 3.7 support, remove Python 3.3 support
2019-07-07 22:49:36 -05:00
Steve Pulec
79cd1e609c Move env variable mocking and undo when stopping. CC #2058, #2172. 2019-07-07 22:32:46 -05:00
Steve Pulec
6efd5582d7
Merge pull request #2284 from wndhydrnt/fix-iam-get-role-policy-not-found
Raise exception if a role policy is not found
2019-07-07 21:23:44 -05:00
Steve Pulec
4e6eb25512
Merge pull request #2274 from corydolphin/failing-test
Adds failing test for socket.socketpair()
2019-07-07 21:18:46 -05:00
Steve Pulec
67242946ef
Merge pull request #2283 from myazinn/example_on_scala
Example of using a moto server with Scala
2019-07-07 21:16:54 -05:00
wndhydrnt
67326ace4f Raise exception if a role policy is not found 2019-07-07 21:46:26 +02:00
MiazinNikita
ea7ac6e9cf Added an example of using a moto server with Scala 2019-07-07 14:17:32 +03:00
Steve Pulec
af0205b6a3 Fix wrong tag for cloudwatch metrics response. Closes #2267. 2019-07-06 17:40:36 -05:00
Steve Pulec
574055da2c
Merge pull request #2245 from vrtdev/bugfix/r53-delete-type
Route53 Delete: respect the given Type
2019-07-06 17:29:19 -05:00
Steve Pulec
09ac1eed7a
Merge pull request #2277 from mattsb42-aws/pyyaml
bump PyYAML minimum version
2019-07-06 15:56:29 -05:00
Steve Pulec
3bafc89b40
Merge pull request #2268 from acsbendi/policy-version-fixes
IAM policy version fixes
2019-07-06 15:52:10 -05:00