From 135aab91b29b133f66d2cd2e9c48459f1482b580 Mon Sep 17 00:00:00 2001 From: Matthew Broadway Date: Thu, 17 Jun 2021 20:43:42 +0100 Subject: [PATCH] skip more tests --- test/test_cookies.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_cookies.py b/test/test_cookies.py index f1f32923d..452293a8f 100644 --- a/test/test_cookies.py +++ b/test/test_cookies.py @@ -51,6 +51,7 @@ class TestCookies(unittest.TestCase): decryptor = LinuxChromeCookieDecryptor('Chrome') assert decryptor.decrypt(encrypted_value) == value + @unittest.skipIf(not PBKDF2_AVAILABLE, 'PBKDF2 not available') @unittest.skipIf(not CRYPTO_AVAILABLE, 'cryptography library not available') def test_chrome_cookie_decryptor_windows_v10(self): with MonkeyPatch(cookies, { @@ -61,6 +62,7 @@ class TestCookies(unittest.TestCase): decryptor = WindowsChromeCookieDecryptor('', Logger()) assert decryptor.decrypt(encrypted_value) == value + @unittest.skipIf(not PBKDF2_AVAILABLE, 'PBKDF2 not available') def test_chrome_cookie_decryptor_mac_v10(self): with MonkeyPatch(cookies, {'_get_mac_keyring_password': lambda *args, **kwargs: b'6eIDUdtKAacvlHwBVwvg/Q=='}): encrypted_value = b'v10\xb3\xbe\xad\xa1[\x9fC\xa1\x98\xe0\x9a\x01\xd9\xcf\xbfc'