Feature 10509 manual scaling for native k8s charm
[osm/N2VC.git] / n2vc / tests / unit / utils.py
index 2f107a7..7e8907f 100644 (file)
@@ -159,7 +159,7 @@ class FakeUnit(MagicMock):
     async def is_leader_from_status(self):
         return True
 
-    async def run_action(self, action_name):
+    async def run_action(self, action_name, **kwargs):
         return FakeAction()
 
 
@@ -176,6 +176,9 @@ class FakeApplication(AsyncMock):
     async def get_config(self):
         return ["app_config"]
 
+    async def scale(self, scale):
+        pass
+
     units = [FakeUnit(), FakeUnit()]