diff --git a/tests/test_api.py b/tests/test_api.py index 2b0b202d59..401d061867 100755 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -43,6 +43,7 @@ logger = logging.getLogger(__name__) +# pylint: disable=too-many-public-methods class TestMetadata(unittest.TestCase): """Tests for public API of all classes in 'tuf/api/metadata.py'.""" diff --git a/tests/test_updater_top_level_update.py b/tests/test_updater_top_level_update.py index 2dbb973979..c2647e4978 100644 --- a/tests/test_updater_top_level_update.py +++ b/tests/test_updater_top_level_update.py @@ -25,6 +25,7 @@ from tuf.ngclient import Updater +# pylint: disable=too-many-public-methods class TestRefresh(unittest.TestCase): """Test update of top-level metadata following 'Detailed client workflow' in the specification.""" @@ -81,6 +82,7 @@ def _assert_content_equals( self, role: str, version: Optional[int] = None ) -> None: """Assert that local file content is the expected""" + # pylint: disable=protected-access expected_content = self.sim._fetch_metadata(role, version) with open(os.path.join(self.metadata_dir, f"{role}.json"), "rb") as f: self.assertEqual(f.read(), expected_content)