Skip to content

Commit 9a1ea9a

Browse files
committed
test fix
1 parent 0f8dbbb commit 9a1ea9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/bouncer/test_custom_bouncer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def test_no_api_key(crowdsec, bouncer, cb_stream_cfg_factory):
1717
cfg = cb_stream_cfg_factory()
1818
with bouncer(cfg) as cb:
1919
cb.wait_for_lines_fnmatch([
20-
"*unable to configure bouncer: config does not contain LAPI key or certificate*",
20+
"*config does not contain LAPI key or certificate*",
2121
])
2222
cb.proc.wait()
2323
assert not cb.proc.is_running()
@@ -26,7 +26,7 @@ def test_no_api_key(crowdsec, bouncer, cb_stream_cfg_factory):
2626

2727
with bouncer(cfg) as cb:
2828
cb.wait_for_lines_fnmatch([
29-
"*unable to configure bouncer: config does not contain LAPI key or certificate*",
29+
"*config does not contain LAPI key or certificate*",
3030
])
3131
cb.proc.wait()
3232
assert not cb.proc.is_running()

0 commit comments

Comments
 (0)