Skip to content

Commit d5f87d6

Browse files
authored
Merge pull request #2622 from sebix/test-static-check
lib/test: Remove debugging stub in static_bot_check
2 parents 479114d + 1edf889 commit d5f87d6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Please refer to the [NEWS](NEWS.md) for a list of changes which have an affect o
4444
- `intelmq.tests.lib.test_pipeline.TestAmqp.test_acknowledge`: Skip on all Python versions when running on CI (PR#2602 by Sebastian Wagner).
4545
- `.github/workflows/codespell.yml`, `debian-package.yml`, `regexploit.yml`: Upgrade to `ubuntu-latest` runners (PR#2602 by Sebastian Wagner).
4646
- `intelmq.test.test_conf`: With changed behaviour in ruamel.yaml on line wrapping since version 0.18.13, only test the parsabilty of `runtime.yaml` (PR#2619 by Sebastian Wagner).
47+
- `intelmq.test.BotTestCase.test_static_bot_check_method`: Remove debugging stub raising for all non-empty checks (PR#2622 by Sebastian Wagner).
4748

4849
### Tools
4950
- `intelmq.bin.intelmq_psql_initdb`: Use `JSONB` type by default, Postgres supports it since version 9 (PR#2597 by Sebastian Wagner).

intelmq/lib/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ def test_static_bot_check_method(self, *args, **kwargs):
304304
self.assertNotEqual(check[0].upper(), 'ERROR',
305305
'%s.check returned the error %r.'
306306
'' % (self.bot_name, check[1]))
307-
raise ValueError(f'checks is {checks!r}')
308307

309308
def run_bot(self, iterations: int = 1, error_on_pipeline: bool = False,
310309
prepare=True, parameters={},

0 commit comments

Comments
 (0)