Commit Graph

20 Commits

Author SHA1 Message Date
Bert Blommers
ab531aed9b
Add warnings about deprecated modules (#4527) 2021-11-04 21:39:53 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
7693d77333
Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
Matěj Cepl
77dc60ea97 Port test suite from nose to pytest.
This just eliminates all errors on the tests collection. Elimination of
failures is left to the next commit.
2020-11-10 08:23:44 +01:00
Asher Foa
d9d055c75d Fix more typos. 2020-01-23 10:15:02 -08:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Bendegúz Ács
f408709ef9 VPC IPv4 validation (#2026)
* Implemented throwing invalid subnet range error and fixed breaking tests.

* Implemented throwing invalid CIDR block parameter error for vpcs and subnets.

* Implemented throwing invalid destination CIDR block error.

* IPv6 addresses not accepted, strict checking disabled.

* Implemented throwing invalid subnet conflict error and fixed breaking tests.

* Implemented throwing invalid VPC range error and fixed breaking tests.

* Fixed accidentally removed ).

* Fixed test case trying to create two subnets with the same CIDR range.
2019-05-25 18:35:07 +01:00
Jack Danger Canty
05ddcef2a0 Re-enabling tests on Python3 2017-06-20 11:58:18 -07:00
Steve Pulec
0adebeed24 Merge #913. 2017-05-10 21:58:42 -04:00
Steve Pulec
f37bad0e00 Lints. 2017-02-23 21:37:43 -05:00
Steve Pulec
fde721bed7 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
Michael Nussbaum
74bbd9c8e5 Various RDS, RDS/Cloudformation, RDS/KMS improvements. (#789)
We need to mock out deploying RDS instances with full disk encryption
and detailed tagging. We also need to be able do deploy these instances
with Cloudformation, and then access them with both boto and boto3.

* Join RDS and RDS2 backends - this makes RDS resources created via
  either of the two boto RDS APIs visible to both, more closely
  mirroring how AWS works
* Fix RDS responses that were returning JSON but should be returning XML
* Add mocking of RDS Cloudformation calls
* Add mocking of RDS full disk encryption with KMS
* Add mocking of RDS DBParameterGroups
* Fix mocking of RDS DBSecurityGroupIngress rules
* Make mocking of RDS OptionGroupOptions more accurate
* Fix mocking of RDS cross-region DB replication
* Add RDS tag support to:
  * DBs
  * DBSubnetGroups
  * DBSecurityGroups

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2017-01-11 21:02:51 -05:00
Hugo Lopes Tavares
7eb969fb00 Remove requires_boto_lte and add comment about StorageType vs storage_type 2015-02-03 16:57:12 -05:00
Hugo Lopes Tavares
c40437398f Add StorageType and Iops elements to DBInstance XML response 2015-02-03 16:50:14 -05:00
Hugo Lopes Tavares
c0cbd59167 Make RDS interface work with us-east-1 region 2015-02-02 16:37:57 -05:00
Steve Pulec
1ca651e106 Skip some tests for py3 since boto is not compatible yet. 2015-01-11 16:39:39 -05:00
Steve Pulec
12118374bd Add database replicas. 2015-01-10 13:50:37 -05:00
Steve Pulec
7559fbe0d1 Add RDS Subnet groups 2015-01-09 00:17:20 -05:00
Steve Pulec
809046e00e Add RDS security groups. 2015-01-08 23:44:05 -05:00
Steve Pulec
dbe3eb5459 Add database CRUD. 2015-01-08 22:18:06 -05:00