Commit Graph

65 Commits

Author SHA1 Message Date
Neil Roberts
b2997304b4 Moto-1781: Implement standalone unit tests to cover bad parameters. 2018-08-15 11:20:29 -07:00
Neil Roberts
43277a59b9 Moto-1781: finish implementation of rotate_secret and add happy test.
- Implement RotateSecret to support initial setup of secret rotation.
Moto's implementation of secrets is currently flat and needs to gain
some dimension before full rotation can be simulated.
- Add the happy path unit test.
2018-08-15 11:04:44 -07:00
Neil Roberts
69a78ba7c9 Moto-1781: Create initial stub of rotate_secret and tests. 2018-08-15 10:52:30 -07:00
Neil Roberts
0b0d16e8ec Opportunistic update to unit test for consistency. 2018-08-15 10:33:38 -07:00
Neil Roberts
1f499971d1 Merge branch 'master' into add_describe_secret_to_secretsmanager 2018-08-14 11:01:47 -07:00
Neil Roberts
b2c672a074 Issue 1753: add server test for mismatched secret 2018-08-13 12:53:22 -07:00
Neil Roberts
85d3250b89 Issue 1753: add test for mismatched secret 2018-08-13 12:49:35 -07:00
Neil Roberts
1f3256ed40 Issue 1770: Deal with the friendly name properly
- Save friendly name in create_secret.
- Reference the saved friendly name in responses that have "Name" field.
- Verify the received secret_id matches the current value. Don't just
test for an empty string.
- Add test for mismatched secret_id.
2018-08-10 16:40:31 -07:00
Neil Roberts
cce3a678aa Implement secretsmanager.DescribeSecret and tests. 2018-08-06 14:40:33 -07:00
zane
6c7a22c7d7 Added get_random_password mock with tests 2018-07-18 00:27:53 -07:00
Zane Williamson
ba1ceee95f Adding create_secret, exception handle, fix (#1680) 2018-07-14 08:39:19 +01:00
zane
b1a8ae8299 Updating tests 2018-06-09 23:42:33 -07:00
zane
8ee7a9495d UPdate 2018-06-09 22:08:10 -07:00
zane
c4abd98ed3 Adding server test for get_secret_value 2018-06-07 22:53:34 -07:00
zane
6e893ff055 Adding response, urls and test 2018-06-07 22:31:44 -07:00