autoscaling test fix assertRaises Exception warning

Fix "H202 assertRaises Exception too broad" warning

Change-Id: I162dbd8e421b22cbf3a55b7052107c8332b8d59a