Fix integration.client.test_kwarg test timeouts

This commit is contained in:
Daniel A. Wozniak 2019-04-13 20:50:08 +00:00 committed by Pedro Algarvio
parent 77355e25fe
commit 899c80e723
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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,
)