From a1d95536f9c4202015c6f07ea27e97e867d2f3a4 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Fri, 16 Oct 2015 09:11:34 +0300 Subject: [PATCH] Fix test on Python 3: vault code expects bytes (Different test than the last commit.) --- test/units/parsing/vault/test_vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/parsing/vault/test_vault.py b/test/units/parsing/vault/test_vault.py index cefe11107c..095a2af4b5 100644 --- a/test/units/parsing/vault/test_vault.py +++ b/test/units/parsing/vault/test_vault.py @@ -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: