dota2tuned / tests /test_stratz.py
Dracufeuer's picture
feat: ship data and A100 preflight
217db5c verified
Raw
History Blame Contribute Delete
259 Bytes
from dota2tuned.clients.stratz import MATCH_QUERY
def test_match_query_uses_current_pickban_fields():
pickban_block = MATCH_QUERY.split("pickBans {", 1)[1].split("}", 1)[0]
assert "isRadiant" in pickban_block
assert "team" not in pickban_block