- asyncio.run(service.evaluate_policy("test_uuid"))
- scale.assert_called_with("test_nsr_id", "test_group", "1", "scale_out")
+ if self.config.get("autoscale", "enabled") == "True":
+ asyncio.run(service.evaluate_policy("test_uuid"))
+ scale.assert_called_with("test_nsr_id", "test_group", "1", "scale_out")