# SPDX-License-Identifier: Apache-2.0 from agent.probe_client import Action, InputKind EXPECTED = ('freeze', '102cabf720ae88323779999ec70aa51a') ACTIONS = ( Action(InputKind.DOWN, 564, 508, 0, 0, 0), Action(InputKind.UP, 564, 508, 0, 0, 0), Action(InputKind.DOWN, 564, 508, 0, 0, 0), Action(InputKind.UP, 564, 508, 0, 0, 0), ) def test_replayed_bug_is_absent(replay): observed = replay(ACTIONS) kind, screen = EXPECTED assert not any((bug.kind, bug.screen) == EXPECTED for bug in observed), ( f"Found {kind} on screen {screen}" )