From e47b043963214ee21ea65133f3bbca0d90954017 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 18 Dec 2024 15:24:44 -0500 Subject: [PATCH] fix preset testsg --- bbot/test/test_step_1/test_presets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/test/test_step_1/test_presets.py b/bbot/test/test_step_1/test_presets.py index 5b1564f12c..be31b38673 100644 --- a/bbot/test/test_step_1/test_presets.py +++ b/bbot/test/test_step_1/test_presets.py @@ -272,13 +272,13 @@ def test_preset_scope(): } assert preset_whitelist_baked.to_dict(include_target=True) == { "target": ["evilcorp.org"], - "whitelist": ["1.2.3.0/24", "http://evilcorp.net/"], + "whitelist": ["1.2.3.4/24", "http://evilcorp.net"], "blacklist": ["bob@evilcorp.co.uk", "evilcorp.co.uk:443"], "config": {"modules": {"secretsdb": {"api_key": "deadbeef", "otherthing": "asdf"}}}, } assert preset_whitelist_baked.to_dict(include_target=True, redact_secrets=True) == { "target": ["evilcorp.org"], - "whitelist": ["1.2.3.0/24", "http://evilcorp.net/"], + "whitelist": ["1.2.3.4/24", "http://evilcorp.net"], "blacklist": ["bob@evilcorp.co.uk", "evilcorp.co.uk:443"], "config": {"modules": {"secretsdb": {"otherthing": "asdf"}}}, }