MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / test_serialize_defaults

Function test_serialize_defaults

test/mitmproxy/test_optmanager.py:303–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

301
302
303def test_serialize_defaults():
304 o = options.Options()
305 buf = io.StringIO()
306 optmanager.serialize(o, buf, "", defaults=True)
307 assert buf.getvalue()
308
309
310def test_saving(tmpdir):

Callers

nothing calls this directly

Calls 1

getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…