From 7ed127eea91d89f0d045b2735bde540ad08d72c4 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Wed, 1 May 2024 08:37:59 -0400 Subject: [PATCH] fix cli tests --- bbot/test/test_step_1/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/test/test_step_1/test_cli.py b/bbot/test/test_step_1/test_cli.py index 5b4452b98..02d7d5b7b 100644 --- a/bbot/test/test_step_1/test_cli.py +++ b/bbot/test/test_step_1/test_cli.py @@ -325,7 +325,7 @@ def test_cli_config_validation(monkeypatch, caplog): assert not caplog.text monkeypatch.setattr("sys.argv", ["bbot", "-c", "modules.ipnegibhor.num_bits=4"]) cli.main() - assert 'Could not find module option "modules.ipnegibhor.num_bits"' in caplog.text + assert 'Could not find config option "modules.ipnegibhor.num_bits"' in caplog.text assert 'Did you mean "modules.ipneighbor.num_bits"?' in caplog.text # incorrect global option @@ -333,7 +333,7 @@ def test_cli_config_validation(monkeypatch, caplog): assert not caplog.text monkeypatch.setattr("sys.argv", ["bbot", "-c", "web_spier_distance=4"]) cli.main() - assert 'Could not find module option "web_spier_distance"' in caplog.text + assert 'Could not find config option "web_spier_distance"' in caplog.text assert 'Did you mean "web_spider_distance"?' in caplog.text