We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2097c2 commit c854867Copy full SHA for c854867
2 files changed
tests/test_ssh.py
@@ -83,7 +83,7 @@ def test_write_ssh_files(self):
83
with open(full_path, "r") as priv_key_file:
84
s_priv_key = priv_key_file.read()
85
expected_priv_key = SSH_PRIVATE_KEY
86
- if platform.system() is not "Windows":
+ if platform.system() != "Windows":
87
expected_priv_key = expected_priv_key.replace("\r\n", "\n")
88
89
self.assertTrue(expected_priv_key == s_priv_key, err_msg % "SSH Private Key")
tests/test_utils.py
@@ -17,7 +17,7 @@
17
import binascii
18
import random
19
import string
20
-from datetime import time
+import time
21
22
from cryptography import x509
23
from cryptography.hazmat.backends import default_backend
0 commit comments