mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 11:19:23 +00:00
7 lines
170 B
Python
7 lines
170 B
Python
|
from netlib.http import user_agents
|
||
|
|
||
|
|
||
|
def test_get_shortcut():
|
||
|
assert user_agents.get_by_shortcut("c")[0] == "chrome"
|
||
|
assert not user_agents.get_by_shortcut("_")
|