projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1539: Add --skip-repo option for Helm
[osm/N2VC.git]
/
n2vc
/
tests
/
unit
/
utils.py
diff --git
a/n2vc/tests/unit/utils.py
b/n2vc/tests/unit/utils.py
index
2f107a7
..
7e8907f
100644
(file)
--- a/
n2vc/tests/unit/utils.py
+++ b/
n2vc/tests/unit/utils.py
@@
-159,7
+159,7
@@
class FakeUnit(MagicMock):
async def is_leader_from_status(self):
return True
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()
return FakeAction()
@@
-176,6
+176,9
@@
class FakeApplication(AsyncMock):
async def get_config(self):
return ["app_config"]
async def get_config(self):
return ["app_config"]
+ async def scale(self, scale):
+ pass
+
units = [FakeUnit(), FakeUnit()]
units = [FakeUnit(), FakeUnit()]