Unit test autoscaling._calculate_new_capacity

This is so we can reduce the complexity in test_autoscaling.py

Change-Id: I96050295f48109bd370168f0a5c66e93e506da3e
part of blueprint decouple-nested
Merge "Unit test autoscaling._calculate_new_capacity"