MCPcopy Index your code
hub / github.com/mitmproxy/mitmproxy / test_merge

Function test_merge

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

Source from the content-addressed store, hash-verified

347
348
349def test_merge():
350 m = TM()
351 m.merge(dict(one="two"))
352 assert m.one == "two"
353 m.merge(dict(one=None))
354 assert m.one == "two"
355 m.merge(dict(two=["bar"]))
356 assert m.two == ["foo", "bar"]
357
358
359def test_option():

Callers

nothing calls this directly

Calls 2

TMClass · 0.70
mergeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…