contentdb/app/tests/unit/test_utils.py

6 lines
142 B
Python
Raw Normal View History

2022-11-05 23:39:33 +01:00
import user_agents
def test_minetest_is_not_bot():
assert not user_agents.parse("Minetest/5.5.1 (Linux/4.14.193+-ab49821 aarch64)").is_bot