Fix calltest

This commit is contained in:
Colton Myers 2015-04-11 15:58:27 -04:00
parent 99744b9568
commit 5b6d410119

View file

@ -34,15 +34,14 @@ class CallTest(integration.ShellCase, integration.ShellCaseCommonTestsMixIn):
out = self.run_call('-l quiet test.fib 3')
expect = ['local:',
' - 2',
' - 3.09944152832e-06']
' - 2']
self.assertEqual(expect, out[:-1])
def test_text_output(self):
out = self.run_call('-l quiet --out txt test.fib 3')
expect = [
'local: (2,'
'local: (2'
]
self.assertEqual(''.join(expect), ''.join(out).rsplit(",", 1)[0])