From d9fe1a01371eef57652bb3bf44d2cb54a270837e Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 21 Nov 2015 22:27:52 -0800 Subject: [PATCH] WTE: update tests to show two lines of responses instead of one (verbose) --- WTE/test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/WTE/test.py b/WTE/test.py index 905eb6a..fda6d67 100644 --- a/WTE/test.py +++ b/WTE/test.py @@ -40,8 +40,9 @@ class WTETestCase(PluginTestCase): "--no-network") def testWTE(self): inp = "The quick brown fox jumps over the lazy dog." - m = self.getMsg("wte %s" % inp) - print('\nWTE Input: %s\nWTE Response: %s' % (inp, m.args[1])) - assert m, 'No response found.' + for _ in range(2): + m = self.getMsg("wte %s" % inp) + print('\nWTE Input: %s\nWTE Response: %s' % (inp, m.args[1])) + assert m, 'No response found.' # vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79: