mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
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:
parent
54732692ac
commit
3070fe9724
2 changed files with 23 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue