mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 01:30:20 +00:00
Fix integration.client.test_kwarg test timeouts
This commit is contained in:
parent
77355e25fe
commit
899c80e723
1 changed files with 9 additions and 8 deletions
|
@ -86,13 +86,15 @@ class StdTest(ModuleCase):
|
|||
'''
|
||||
terrible_yaml_string = 'foo: ""\n# \''
|
||||
ret = self.client.cmd_full_return(
|
||||
'minion',
|
||||
'test.arg_type',
|
||||
['a', 1],
|
||||
timeout=self.TIMEOUT,
|
||||
kwarg={'outer': {'a': terrible_yaml_string},
|
||||
'inner': 'value'}
|
||||
)
|
||||
'minion',
|
||||
'test.arg_type',
|
||||
['a', 1],
|
||||
kwarg={
|
||||
'outer': {'a': terrible_yaml_string},
|
||||
'inner': 'value'
|
||||
},
|
||||
timeout=self.TIMEOUT,
|
||||
)
|
||||
data = ret['minion']['ret']
|
||||
self.assertIn(six.text_type.__name__, data['args'][0])
|
||||
self.assertIn('int', data['args'][1])
|
||||
|
@ -115,7 +117,6 @@ class StdTest(ModuleCase):
|
|||
],
|
||||
kwarg={
|
||||
'quux': 'Quux',
|
||||
|
||||
},
|
||||
timeout=self.TIMEOUT,
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue