mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge branch '2019.2.1' into integration_terminate_fix
This commit is contained in:
commit
ba3e867f96
2 changed files with 3 additions and 1 deletions
|
@ -18,6 +18,7 @@ from tests.support.helpers import expensiveTest, generate_random_name
|
|||
# Import Salt Libs
|
||||
from salt.config import cloud_providers_config
|
||||
from salt.ext.six.moves import range
|
||||
import salt.utils.stringutils
|
||||
|
||||
|
||||
# Create the cloud instance name to be used throughout the tests
|
||||
|
@ -107,7 +108,7 @@ class DigitalOceanTest(ShellCase):
|
|||
|
||||
# generate key and fingerprint
|
||||
ssh_key = RSA.generate(4096)
|
||||
pub = ssh_key.publickey().exportKey("OpenSSH")
|
||||
pub = salt.utils.stringutils.to_str(ssh_key.publickey().exportKey("OpenSSH"))
|
||||
key_hex = hashlib.md5(base64.b64decode(pub.strip().split()[1].encode())).hexdigest()
|
||||
finger_print = ':'.join([key_hex[x:x+2] for x in range(0, len(key_hex), 2)])
|
||||
|
||||
|
|
|
@ -409,6 +409,7 @@ class WinSystemModuleTest(ModuleCase):
|
|||
finally:
|
||||
self.run_function('system.set_computer_desc', [current_desc])
|
||||
|
||||
@skipIf(True, 'WAR ROOM 7/29/2019, unit test?')
|
||||
def test_get_system_time(self):
|
||||
'''
|
||||
Test getting the system time
|
||||
|
|
Loading…
Add table
Reference in a new issue