mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix calltest
This commit is contained in:
parent
99744b9568
commit
5b6d410119
1 changed files with 2 additions and 3 deletions
|
@ -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])
|
||||
|
|
Loading…
Add table
Reference in a new issue