Rfaulk has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62958
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(-)
git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/58/62958/1
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: newchange
Gerrit-Change-Id: Ie08016bdffcf1d8a33b6435e34cc5a9ecbb6fcb5
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits