mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Cast to dict to fix wheel tests in tcp
This commit is contained in:
parent
560671a170
commit
8d3244166b
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class WheelModuleTest(integration.TestCase, integration.AdaptedConfigurationTest
|
|||
'''
|
||||
Configure an eauth user to test with
|
||||
'''
|
||||
self.wheel = salt.wheel.Wheel(self.get_config('client_config'))
|
||||
self.wheel = salt.wheel.Wheel(dict(self.get_config('client_config')))
|
||||
|
||||
def test_master_call(self):
|
||||
'''
|
||||
|
@ -45,7 +45,7 @@ class WheelModuleTest(integration.TestCase, integration.AdaptedConfigurationTest
|
|||
The choice of using key.list_all for this is arbitrary and should be
|
||||
changed to some mocked function that is more testing friendly.
|
||||
'''
|
||||
auth = salt.auth.LoadAuth(self.get_config('client_config'))
|
||||
auth = salt.auth.LoadAuth(dict(self.get_config('client_config')))
|
||||
token = auth.mk_token(self.eauth_creds)
|
||||
|
||||
token = auth.mk_token({
|
||||
|
|
Loading…
Add table
Reference in a new issue