Skip to content

Commit

Permalink
s/Auto Scaling Groups/Auto Scaling groups/ to match TA
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Jun 21, 2015
1 parent 7fd14c7 commit f6de4b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions awslimitchecker/services/autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def find_usage(self):
for lim in self.limits.values():
lim._reset_usage()

self.limits['Auto Scaling Groups']._add_current_usage(
self.limits['Auto Scaling groups']._add_current_usage(
len(self.conn.get_all_groups()),
aws_type='AWS::AutoScaling::AutoScalingGroup',
)
Expand All @@ -96,8 +96,8 @@ def get_limits(self):
return self.limits
limits = {}
# autoscaleconnection.get_all_groups()
limits['Auto Scaling Groups'] = AwsLimit(
'Auto Scaling Groups',
limits['Auto Scaling groups'] = AwsLimit(
'Auto Scaling groups',
self,
20,
self.warning_threshold,
Expand Down
4 changes: 2 additions & 2 deletions awslimitchecker/tests/services/test_autoscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def test_get_limits(self):
cls.limits = {}
res = cls.get_limits()
assert sorted(res.keys()) == sorted([
'Auto Scaling Groups',
'Auto Scaling groups',
'Launch configurations',
])
for name, limit in res.items():
Expand Down Expand Up @@ -110,7 +110,7 @@ def test_find_usage(self):
cls.find_usage()
assert mock_connect.mock_calls == [call()]
assert cls._have_usage is True
asgs = sorted(cls.limits['Auto Scaling Groups'].get_current_usage())
asgs = sorted(cls.limits['Auto Scaling groups'].get_current_usage())
assert len(asgs) == 1
assert asgs[0].get_value() == 3
lcs = sorted(cls.limits['Launch configurations'].get_current_usage())
Expand Down

0 comments on commit f6de4b0

Please sign in to comment.