Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/mitmproxy/mitmproxy
/ test_backup_idempotence
Method
test_backup_idempotence
test/mitmproxy/test_http.py:693–698 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
691
assert f.request.content == b
"foo"
692
693
def
test_backup_idempotence(self):
694
f = tflow(resp=True)
695
f.backup()
696
f.revert()
697
f.backup()
698
f.revert()
699
700
def
test_getset_state(self):
701
f = tflow(resp=True)
Callers
nothing calls this directly
Calls
3
tflow
Function · 0.90
backup
Method · 0.80
revert
Method · 0.45
Tested by
no test coverage detected