Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion intelmq/tests/bots/collectors/http/test_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def check_authorization_header(request):
captured = mocker.register_uri('GET', self.sysconfig['http_url'],
text='Foo Bar',
additional_matcher=check_authorization_header)
log_line = "Either 'http_username' or 'http_password' are given, but for HTTP Authentication, both must be set\."
log_line = r"Either 'http_username' or 'http_password' are given, but for HTTP Authentication, both must be set\."
self.run_bot(parameters={'http_username': 'username'}, allowed_warning_count=1)
self.assertLogMatches(log_line, 'WARNING')
self.run_bot(parameters={'http_password': 'password'}, allowed_warning_count=1)
Expand Down
Loading