Rfaulk has submitted this change and it was merged.
Change subject: fix. Ensure args are provided in tests where required.
......................................................................
fix. Ensure args are provided in tests where required.
Change-Id: Ie08016bdffcf1d8a33b6435e34cc5a9ecbb6fcb5
---
M sartoris/tests/test.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Rfaulk: Verified; Looks good to me, approved
jenkins-bot: Checked
diff --git a/sartoris/tests/test.py b/sartoris/tests/test.py
index 9a228e1..791989f 100644
--- a/sartoris/tests/test.py
+++ b/sartoris/tests/test.py
@@ -9,6 +9,7 @@
"""
import unittest
+from collections import namedtuple
from sartoris.sartoris import Sartoris, SartorisError, exit_codes
from sartoris import config
from dulwich.repo import Repo
@@ -120,7 +121,7 @@
"""
sartoris_obj = Sartoris()
try:
- sartoris_obj.log_deploys(None)
+ sartoris_obj.log_deploys(namedtuple('o', 'count')(1))
except SartorisError:
assert False
--
To view, visit https://gerrit.wikimedia.org/r/62958
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie08016bdffcf1d8a33b6435e34cc5a9ecbb6fcb5
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
Gerrit-Reviewer: Rfaulk <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits