Fix line length

This commit is contained in:
benoit74 2023-10-26 08:33:06 +02:00
parent 18ed6ca540
commit b89f57b843
No known key found for this signature in database
GPG Key ID: B89606434FC7B530

View File

@ -35,7 +35,9 @@ def test_user_agent():
if record.rec_type == "request":
print(record.http_headers)
ua = record.http_headers.get_header("User-Agent")
# remove 'and ua != "undefined"' once https://github.com/webrecorder/browsertrix-crawler/pull/420 is released / used by us
# remove 'and ua != "undefined"' once
# https://github.com/webrecorder/browsertrix-crawler/pull/420 is
# released / used by us
if ua and ua != "undefined":
assert "Mozilla" in ua
assert ua.endswith(" +Zimit test@example.com")