Skip to content

Commit c854867

Browse files
committed
- Fixed wrong time import on test cases.
1 parent a2097c2 commit c854867

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def test_write_ssh_files(self):
8383
with open(full_path, "r") as priv_key_file:
8484
s_priv_key = priv_key_file.read()
8585
expected_priv_key = SSH_PRIVATE_KEY
86-
if platform.system() is not "Windows":
86+
if platform.system() != "Windows":
8787
expected_priv_key = expected_priv_key.replace("\r\n", "\n")
8888

8989
self.assertTrue(expected_priv_key == s_priv_key, err_msg % "SSH Private Key")

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import binascii
1818
import random
1919
import string
20-
from datetime import time
20+
import time
2121

2222
from cryptography import x509
2323
from cryptography.hazmat.backends import default_backend

0 commit comments

Comments
 (0)