Awight has uploaded a new change for review. https://gerrit.wikimedia.org/r/315741
Change subject: WIP fix py tests ...................................................................... WIP fix py tests Bug: T145012 Change-Id: I338b126b850f4f5523dc700f7a4bc79058fc9a54 --- M audit/paypal/tests/test_trr_file.py 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/tools refs/changes/41/315741/1 diff --git a/audit/paypal/tests/test_trr_file.py b/audit/paypal/tests/test_trr_file.py index 54f5dab..96dc621 100644 --- a/audit/paypal/tests/test_trr_file.py +++ b/audit/paypal/tests/test_trr_file.py @@ -76,6 +76,9 @@ with nose.tools.assert_raises(Exception) as cm: parser.parse_line(row) + # XXX + raise cm + # Should have failed with a specific missing field error. assert cm.exception.message == "Missing field subscr_id" -- To view, visit https://gerrit.wikimedia.org/r/315741 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I338b126b850f4f5523dc700f7a4bc79058fc9a54 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/tools Gerrit-Branch: master Gerrit-Owner: Awight <awi...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits