Rollback previous changes around the presence of a default user-agent

- Remove default userAgent value
- Set a default mobileDevice
- Add back comments explaining that userAgent overrides other settings
- Add back logic around the computation of the userAgentSuffix instead
  of the userAgent
- Add new noMobileDevice argument to not set the default mobileDevice
This commit is contained in:
benoit74 2024-03-27 13:16:00 +00:00
parent 54732692ac
commit 3070fe9724
No known key found for this signature in database
GPG key ID: B89606434FC7B530
2 changed files with 23 additions and 18 deletions

View file

@ -1,6 +1,6 @@
from zimit.zimit import DEFAULT_USER_AGENT
from zimit.zimit import NORMAL_WARC2ZIM_EXIT_CODE
# dummy test, just to have coverage report done
def test_default_user_agent():
assert DEFAULT_USER_AGENT
def test_something_exists():
assert NORMAL_WARC2ZIM_EXIT_CODE