mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
3219430dcc
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ class WinSystemModuleTest(ModuleCase):
|
|||
'''
|
||||
ret = self.run_function('system.get_computer_name')
|
||||
|
||||
self.assertTrue(isinstance(ret, str))
|
||||
self.assertTrue(isinstance(ret, six.text_type))
|
||||
import socket
|
||||
name = socket.gethostname()
|
||||
self.assertEqual(name, ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue