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

Function test_styling

test/mitmproxy/addons/test_dumper.py:331–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

329
330
331def test_styling():
332 sio = io.StringIO()
333
334 d = dumper.Dumper(sio)
335 d.out_has_vt_codes = True
336 with taddons.context(d):
337 d.response(tflow.tflow(resp=True))
338 assert "\x1b[" in sio.getvalue()
339
340
341def test_has_styles_for_tags():

Callers

nothing calls this directly

Calls 3

responseMethod · 0.95
contextMethod · 0.80
getvalueMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…