mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-24 09:15:55 +00:00
7 lines
174 B
Python
7 lines
174 B
Python
|
from netlib import http_uastrings
|
||
|
|
||
|
|
||
|
def test_get_shortcut():
|
||
|
assert http_uastrings.get_by_shortcut("c")[0] == "chrome"
|
||
|
assert not http_uastrings.get_by_shortcut("_")
|