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/24 16:28:26 UTC
[incubator-ponymail-unit-tests] branch master updated: Allow for
missing id
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 49a86e4 Allow for missing id
49a86e4 is described below
commit 49a86e45f33aae1145b4e0756a58b4baf56f934a
Author: Sebb <se...@apache.org>
AuthorDate: Mon Aug 24 17:28:14 2020 +0100
Allow for missing id
---
tests/test-generators.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-generators.py b/tests/test-generators.py
index 0ead7a6..29476b7 100755
--- a/tests/test-generators.py
+++ b/tests/test-generators.py
@@ -39,7 +39,7 @@ def generate_specs(args):
json = archie.compute_updates(fake_args, lid, False, message, message_raw)
gen_spec.append({
'index': key,
- 'message-id': message.get('message-id').strip(),
+ 'message-id': message.get('message-id','').strip(),
'generated': json['mid'],
})
yml[gen_type] = gen_spec