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 70a7e6e  Foal now updated
70a7e6e is described below

commit 70a7e6eb320dbd972dcf0a6801bb0677664d47c4
Author: Sebb <[email protected]>
AuthorDate: Sat Aug 22 21:24:18 2020 +0100

    Foal now updated
---
 tests/interfacer.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/tests/interfacer.py b/tests/interfacer.py
index 7c934e9..bbcb88b 100644
--- a/tests/interfacer.py
+++ b/tests/interfacer.py
@@ -17,7 +17,7 @@ class Archiver(object):
             if hasattr(args, 'generator'):
               archiver_.archiver_generator = args.generator
             self.archie = archiver_.Archiver(parseHTML=args.parse_html)
-        # prepare for updated archiver
+        # Foal
         elif 'ignore_body' in self.expected_archie_parameters:
             self.archie = archiver_.Archiver(generator=getattr(args, 
'generator', None),
                                              parse_html=args.parse_html,
@@ -38,10 +38,7 @@ class Archiver(object):
             self.compute = self._compute_11
 
     def _compute_foal(self, fake_args, lid, private, message, message_raw):
-        if 'args' in self.expected_compute_parameters: # temporary until foal 
updated
-            return self.archie.compute_updates(fake_args, lid, private, 
message, message_raw)[0]
-        else:
-            return self.archie.compute_updates(lid, private, message, 
message_raw)[0]
+        return self.archie.compute_updates(lid, private, message, 
message_raw)[0]
 
     def _compute_12(self, fake_args, lid, private, message, message_raw):
         return self.archie.compute_updates(fake_args, lid, private, message)[0]

Reply via email to