mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix test on Python 3: vault code expects bytes
(Different test than the last commit.)
This commit is contained in:
@@ -97,7 +97,7 @@ class TestVaultLib(unittest.TestCase):
|
||||
lines = rdata.split(b'\n')
|
||||
assert lines[0] == b"ansible"
|
||||
assert v.cipher_name == 'TEST', "cipher name was not set"
|
||||
assert v.b_version == "9.9"
|
||||
assert v.b_version == b"9.9"
|
||||
|
||||
def test_encrypt_decrypt_aes(self):
|
||||
if not HAS_AES or not HAS_COUNTER or not HAS_PBKDF2:
|
||||
|
||||
Reference in New Issue
Block a user