Commit Graph

3065 Commits

Author SHA1 Message Date
Chris Wolfe
29061ec0f8 add a basic test to start 2018-02-19 09:10:52 -06:00
Loukas Leontopoulos
bf2ba0b680 Add more exception tests for opsworks 2018-02-19 15:22:53 +02:00
Clive Li
6e6ed28d79 Use the TemplateBody by default it exist
serverless cli use the PUT + TemplateBody + TemplateURL to upload cloudformation template

This fix try to get the TemplateBody from the request first, if not exist, fetch the one from s3 bucket
2018-02-13 17:32:11 +11:00
Jack Danger
553d074241
Merge pull request #1463 from spulec/feature/add-default-spot-price-to-fleet-request
Make SpotPrice optional when requesting a spot fleet
2018-02-02 14:47:02 +09:00
Hugo Lopes Tavares
5f61950096 Make SpotPrice optional when requesting a spot fleet
When price is omitted, AWS will default to the on-demand price
2018-02-01 18:07:35 -05:00
Jack Danger
c4e895c864
Merge pull request #1462 from JackDanger/jack/fixing-version-number
fixing version number
2018-01-31 18:06:33 -08:00
Jack Danger
d090a8188c fixing version number
Fixes #1481
2018-02-01 11:05:31 +09:00
Taro Sato
5e70d0ce4c Support both virtual-hosted-style and path-style URLs for region name parsing 2018-01-30 16:10:43 -08:00
Taro Sato
c7bcbadc6e Fix the S3 HEAD response body 2018-01-30 13:48:04 -08:00
rhard7
363f734e2b fixes apigateway timestamp to match aws 2018-01-29 12:37:23 -08:00
grahamlyons
f3debf8f6f Test and fix bug for snapshot searching
The logic which contructed a list of values for parameters with
multiple values was flawed in that e.g. `Subnet.1` and `Subnet.10`
would be have their values counted against `Subnet.1` because they
share a prefix.

This now checks for a starting `.` before counting that name as
having the requested prefix.
2018-01-29 14:30:21 +00:00
captainkerk
258c076eef (slow heavy metal music playing) adjust spacing to appease the pep8 gods 2018-01-28 23:16:19 +00:00
captainkerk
4d77aef7e5 adjust spacing, remove unnecessary region_name variable from
SnapshotCopyGrant init
2018-01-28 23:08:03 +00:00
captainkerk
e514b98747 redshift: add copy grant functionality 2018-01-28 22:58:28 +00:00
captainkerk
7130dd5239 rework to follow spec for encrypted/unencrypted clusters 2018-01-28 04:16:21 +00:00
captainkerk
ed06658271 address spacing issues 2018-01-28 04:16:21 +00:00
captainkerk
92798b9a9f improve error handling 2018-01-28 04:16:21 +00:00
captainkerk
d8b124fbf4 added: enable/disable/modify redshift snapshot copy methods 2018-01-28 04:16:21 +00:00
Rasmus Larsen
796145d62d Make DestinationCidrBlock optional (ipv6). 2018-01-26 15:32:22 +01:00
Rasmus Larsen
59c49ca34f Fix typo. 2018-01-26 14:55:53 +01:00
Rasmus Larsen
aedfebed98 Add support for CidrIpv6 in Security Ingress rules. 2018-01-26 14:48:11 +01:00
grahamlyons
3ce57644cd Change 'image' for 'volume' when getting tags
The AWS docs say that: "Currently, the resource types that support
tagging on creation are instance and volume." Calling `create_volume`
and passing `image` as the resource type in tag specifications causes
an `InvalidParameterValue` error.
2018-01-26 11:12:50 +00:00
Jack Danger
4520cd930f
Merge pull request #1378 from william-richard/start-running-ami-tests
Make test_amis not executable, so nose runs it
2018-01-24 18:28:40 -08:00
Chris Keogh
53184208fd add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources 2018-01-25 14:51:06 +13:00
Jack Danger
3e27990613
Merge pull request #1446 from koxudaxi/fix_get_templates_test
Remove unneeded comments and fix test code on cloudformationstack tests
2018-01-24 11:32:07 -08:00
Koudai Aono
0eb02613a0 fix get_template tests to support OrderedDict 2018-01-25 02:37:51 +09:00
Koudai Aono
9ef271fafa Remove unneeded comments 2018-01-25 01:34:27 +09:00
Koudai Aono
518282dbd3 change get_param method to get_int_param 2018-01-25 00:51:14 +09:00
Koudai Aono
e4cf58d6fa cast MaxRecords to int on describe_db_instances 2018-01-25 00:51:14 +09:00
Dan W Anderson
616095602a test for redrive policy 2018-01-23 18:33:23 -08:00
Dan W Anderson
8959643e56 return redrivepolicy attribute as string 2018-01-23 18:33:23 -08:00
Dan W Anderson
89bad39313 add redrivepolicy attribute to sqs 2018-01-23 18:33:23 -08:00
Jack Danger
df79f08c2d
Merge pull request #1432 from dbfr3qs/master
add tags when creating ebs volume
2018-01-23 13:35:21 -08:00
Jack Danger
52f0d0a4e4 importing sure in tests that require it 2018-01-20 19:44:22 -08:00
Jack Danger
ae9d7251ed
Merge pull request #1441 from JackDanger/jack/fixing-makefile
fixing makefile
2018-01-20 19:35:25 -08:00
Jack Danger
402aa35459 fixing makefile 2018-01-20 19:35:02 -08:00
dbfr3qs
7d0733ad10 hack tests now that boto get_templates returns ordered dicts 2018-01-18 19:40:24 +13:00
dbfr3qs
597676c59c add tags when creating ebs volume 2018-01-15 21:52:32 +13:00
Ciprian Radulescu
cf12624cfb Merge branch 'urldecode_fix' of https://github.com/OwnZones/moto into urldecode_fix 2018-01-14 20:03:03 +02:00
Ciprian Radulescu
2beb004006 updated changelog for pull request 2018-01-14 20:02:49 +02:00
ciprianaradulescu
c431a3a774
Merge branch 'master' into urldecode_fix 2018-01-14 19:58:48 +02:00
Ciprian Radulescu
055bc0f5d7 updated changelog 2018-01-14 19:57:45 +02:00
George Ionita
baba13c9bb
Merge pull request #1 from spulec/master
updating with upstream changes
2018-01-14 19:08:16 +02:00
Ciprian Radulescu
ef9b229acc url decode x-amz-copy-source as per s3 nodejs documentation 2018-01-14 18:49:47 +02:00
Toshiya Kawasaki
4f445a3db5 Handle describe-streams error when log events does not exist. 2018-01-14 15:20:20 +09:00
Toshiya Kawasaki
056a4e4672 Fix iot exception definition 2018-01-14 14:39:24 +09:00
Toshiya Kawasaki
663283a8f0 add logs exceptions 2018-01-14 14:35:53 +09:00
William Richard
09c5407b86
Fix tests that were introduced in PR #1398 2018-01-11 15:02:03 -05:00
William Richard
e0d4728c5d
Fix ami tests
- missing and malformed image ids
- test_ami_filters

- test_ami_copy tests

- test_ami_create_and_delete test

- test_ami_filter_wildcard test

- the rest of the tests by using the non-deprecated mock_ec2
2018-01-11 15:02:01 -05:00
William Richard
00a4249b74
Make test_amis not executable, so nose runs it
In trying to debug changes to the ami mock introduced in 1.1.25,
I noticed that the ami tests were not running.  Turns out that nose does not
run test files that are executable.

http://nose.readthedocs.io/en/latest/finding_tests.html

The ami test file was the only test file I could find that had the executable bit set.
2018-01-11 15:00:38 -05:00