From 7ac29eff569326f415769c4cff211cd2b18dcb56 Mon Sep 17 00:00:00 2001 From: dandds Date: Wed, 6 Nov 2019 06:08:48 -0500 Subject: [PATCH] CRL test should skip JSON cache. --- tests/check_crl_parse.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/check_crl_parse.py b/tests/check_crl_parse.py index ebf6bd03..a6f0d94c 100644 --- a/tests/check_crl_parse.py +++ b/tests/check_crl_parse.py @@ -7,7 +7,9 @@ from tests.utils import parse_for_issuer_and_next_update CRL_DIR = "crls" -_CRLS = ["{}/{}".format(CRL_DIR, file_) for file_ in os.listdir(CRL_DIR)] +_CRLS = [ + "{}/{}".format(CRL_DIR, file_) for file_ in os.listdir(CRL_DIR) if ".crl" in file_ +] @pytest.mark.parametrize("crl_path", _CRLS)