From 3778f062046532c979a2240cdda35656fe958cc9 Mon Sep 17 00:00:00 2001 From: alex-nork Date: Tue, 5 Sep 2023 12:57:27 +0000 Subject: [PATCH] add docstring and remove unnecessary comment --- .pre-commit-config.yaml | 1 - chirps/policy/tests/test_models.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4c400aae..8512c82c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -71,7 +71,6 @@ repos: - id: mypy name: mypy entry: "./scripts/run-mypy" - # A script hook uses the active virtual environment, so it must be up-to-date with `poetry install --sync` language: script types_or: [python, toml] # use require_serial so that script diff --git a/chirps/policy/tests/test_models.py b/chirps/policy/tests/test_models.py index 1242d1d3..2ff3f58d 100644 --- a/chirps/policy/tests/test_models.py +++ b/chirps/policy/tests/test_models.py @@ -605,6 +605,8 @@ def test_create_multiquery_rule(self): class BaseMultiQueryTest(TestCase): + """Base class for MultiQueryResult and MultiQueryFinding tests.""" + fixtures = ['scan/test_dash_pagination.json', 'severity/default_severities.json'] def setUp(self):