mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-27 05:21:10 -05:00
TranslateParty: tweak testcase output logging
This commit is contained in:
parent
d147207ad1
commit
f25afcca35
@ -38,9 +38,10 @@ class TranslatePartyTestCase(PluginTestCase):
|
|||||||
"--no-network")
|
"--no-network")
|
||||||
def testTranslateParty(self):
|
def testTranslateParty(self):
|
||||||
inp = "The quick brown fox jumps over the lazy dog."
|
inp = "The quick brown fox jumps over the lazy dog."
|
||||||
|
print('\n TranslateParty input: %s' % inp)
|
||||||
for _ in range(2):
|
for _ in range(2):
|
||||||
m = self.getMsg("tp %s" % inp)
|
m = self.getMsg("tp %s" % inp)
|
||||||
print('\nTranslateParty input: %s\nTranslateParty response: %s' % (inp, m.args[1]))
|
print(' TranslateParty response: %s' % m.args[1])
|
||||||
assert m, 'No response found.'
|
assert m, 'No response found.'
|
||||||
|
|
||||||
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user