From e51c0beee3681a6009ee944fdca0914d2eae5f85 Mon Sep 17 00:00:00 2001 From: Jussi Kukkonen Date: Mon, 15 May 2023 11:00:08 +0300 Subject: [PATCH] tests: Move lint disable to inside block as intended Signed-off-by: Jussi Kukkonen --- tests/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_api.py b/tests/test_api.py index cb3865ca..98a489cb 100755 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -345,8 +345,8 @@ def test_metadata_verify_delegate(self) -> None: with self.assertRaises(ValueError): role2.verify_delegate("role1", role1) - # pylint: disable=too-many-locals,too-many-statements def test_signed_verify_delegate(self) -> None: + # pylint: disable=too-many-locals,too-many-statements root_path = os.path.join(self.repo_dir, "metadata", "root.json") root_md = Metadata[Root].from_file(root_path) root = root_md.signed