mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
16 lines
379 B
Python
16 lines
379 B
Python
import os
|
|
from unittest.case import SkipTest
|
|
if os.name == "nt":
|
|
raise SkipTest("Skipped on Windows.")
|
|
|
|
|
|
import libmproxy.console.common as common
|
|
from . import tutils
|
|
|
|
|
|
def test_format_flow():
|
|
f = tutils.tflow(resp=True)
|
|
assert common.format_flow(f, True)
|
|
assert common.format_flow(f, True, hostheader=True)
|
|
assert common.format_flow(f, True, extended=True)
|