MCPcopy
hub / github.com/mitmproxy/mitmproxy / test_mismatch

Function test_mismatch

test/mitmproxy/proxy/test_tutils.py:56–60  ·  view source on GitHub ↗
(tplaybook)

Source from the content-addressed store, hash-verified

54
55
56def test_mismatch(tplaybook):
57 with pytest.raises(AssertionError, match="Playbook mismatch"):
58 tplaybook >> TEvent([])
59 tplaybook << TCommand()
60 assert tplaybook
61
62
63def test_partial_assert(tplaybook):

Callers

nothing calls this directly

Calls 2

TEventClass · 0.85
TCommandClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…