You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/16 20:24:13 UTC
[incubator-ponymail-unit-tests] branch master updated: Fix up for
calling V0.12
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-unit-tests.git
The following commit(s) were added to refs/heads/master by this push:
new 693936c Fix up for calling V0.12
693936c is described below
commit 693936cfa8a17b6944cc970417636241bbf1ad6a
Author: Sebb <se...@apache.org>
AuthorDate: Sun Aug 16 21:23:33 2020 +0100
Fix up for calling V0.12
---
tests/test-generators.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/test-generators.py b/tests/test-generators.py
old mode 100644
new mode 100755
index 6b8d96a..4e84dac
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -44,7 +44,10 @@ def generate_specs(args):
# Foal parameters
if 'raw_msg' in expected_compute_parameters:
json, _, _, _ = archie.compute_updates(fake_args, lid, False, message, message_raw)
- # PM <= 0.12 parameters
+ # PM 0.12 parameters
+ elif 'args' in expected_compute_parameters:
+ json, _, _, _ = archie.compute_updates(fake_args, lid, False, message)
+ # PM <= 0.11 parameters (missing args)
else:
# May return 2 or 4 values; only want first
json = archie.compute_updates(lid, False, message)[0]