1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-23 13:02:03 +00:00

ci: fix UI master diff

This commit is contained in:
Martin Milata 2022-05-24 17:19:21 +02:00
parent a1eaa465aa
commit 1e0fa3428c

View File

@ -23,7 +23,7 @@ def get_diff(
current = download.fetch_fixtures_current()
def matches_prefix(name: str) -> bool:
any(name.startswith(prefix) for prefix in test_prefixes)
return any(name.startswith(prefix) for prefix in test_prefixes)
master = {name: value for name, value in master.items() if matches_prefix(name)}
current = {name: value for name, value in current.items() if matches_prefix(name)}