Commit Graph

18 Commits

Author SHA1 Message Date
Rigas Papathanasopoulos
4abd88f95c
Fix the online status in OpsWorks
When an instance is running, OpsWorks reports its status as "online"
[1], while EC2 reports it as "running". Until now, moto copied the EC2
instance's status as is. This commit introduces the converts the running
status to online when returned by OpsWorks.

[1]: https://docs.aws.amazon.com/cli/latest/reference/opsworks/describe-instances.html
2020-05-07 10:57:27 +03:00
Stephan Huber
0527e88d46 Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
Asher Foa
96e5b1993d Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
Stephan
e51d1bfade merge 2018-12-21 12:28:56 +01:00
Loukas Leontopoulos
b7ae704ad2 Add opsworks app mocks (#1481)
* Add implementation for OpsWorks create_app and describe_apps

* Fix the name of the test

* Add some more exception tests
2018-03-21 09:05:57 -07:00
Loukas Leontopoulos
bf2ba0b680 Add more exception tests for opsworks 2018-02-19 15:22:53 +02:00
Loukas Leontopoulos
4393a4f76c Change checks for handling same layer name un different stack 2017-09-25 14:49:08 +03:00
Loukas Leontopoulos
7599fd5dc0 Add test_case for layer per stack
Add a new test case for creating a layer with the same name under a different stack.
2017-09-25 14:31:29 +03: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
Steve Pulec
1b4bb156e4 Freezetime. 2016-11-23 19:23:47 -06:00
Vladimir Sudilovsky
768f1adb4f opsworks: py2.6 compat str.format 2016-04-18 16:36:30 -04:00
Vladimir Sudilovsky
3a8268fd56 opsworks/tests: add missing region_name='us-east-1' in client init 2016-04-18 16:08:08 -04:00
Vladimir Sudilovsky
9ce1890f35 opsworks/tests: init boto3.client with region_name='us-east-1' 2016-04-18 16:03:13 -04:00
Vladimir Sudilovsky
1ce22068ea opsworks: impl start_instance, describe_instances 2016-04-18 15:44:21 -04:00
Vladimir Sudilovsky
09ca1b6e0c opsworks: impl create_instance 2016-04-15 15:44:38 -04:00
Vladimir Sudilovsky
2fe5b77861 opsworks: impl create_layers; describe_layers 2016-04-14 16:28:53 -04:00
Vladimir Sudilovsky
165bab0f97 opsworks: implement create_stack 2016-04-14 10:37:13 -04:00