Commit Graph

18 Commits

Author SHA1 Message Date
Akira Noda
90bdd72555
Admin: Using ruff format instead of black (#7502) 2024-03-21 19:17:29 -01:00
Max Granat
0758e9cf74
Add ASG Scheduled Scaling Action batch APIs (#7323) 2024-02-10 10:01:12 -01:00
Bert Blommers
a7f3b367b4 Introduce mock_aws() (#7194) 2024-01-27 19:38:09 +00:00
tungol
55c589072f
Admin: sorting imports with ruff (#7075) 2023-11-30 14:55:51 -01:00
Bert Blommers
9e7295ddef
Prep release 4.2.10 (#7064) 2023-11-24 19:17:50 -01:00
Bert Blommers
0b2e86ce68
Techdebt: Replace sure with regular asserts in Autoscaling (#6383) 2023-06-09 11:16:59 +00:00
Bert Blommers
9340335d73
EC2 availability zones in us-west-1: use A and B (#5515) 2022-10-02 13:03:03 +00:00
Bert Blommers
37c5be725a
EC2: Fix us-west-1 availability zones to b and c (#5513) 2022-10-01 22:33:22 +00:00
Sahil Shah
c0ce38dba8
AWS::AutoScaling::ScheduledAction add more features (#5305) 2022-07-28 11:42:32 -03:00
Bert Blommers
29d01c35bc
Update Black + formatting (#4926) 2022-03-10 13:39:59 -01:00
Bert Blommers
14a69c7524
Techdebt: Enable pylint rules (#4432) 2021-10-18 19:44:29 +00:00
Bert Blommers
e9a4100324
Rewrite deprecated CloudFormation tests (#3842) 2021-10-04 13:47:40 +00:00
Brian Pandola
9e1fcac9d4
Use known AMI in internal tests (#3620)
Moto's implementation of autoscaling:CreateLaunchConfiguration is a little too loose,
allowing the ImageId parameter to be omitted and defaulting it to None, which results
in dozens of deprecation warnings:

`PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.`

This commit refactors calls to CreateLaunchConfiguration to explicitly pass in a known
AMI ImageId in order to avoid these warnings.

The integrity of the tests is unaffected by this change.
2021-01-27 19:49:33 +00:00
Bert Blommers
77dd35e3b8
Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
Bert Blommers
273ca63d59 Linting 2020-11-11 15:55:37 +00:00
Matěj Cepl
5697ff87a8 Back to Black 2020-11-10 14:12:38 +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
Bert Blommers
db1d7123f6 List dependencies for services - add integration test to verify 2020-09-13 16:08:23 +01:00