blob: deba5f6c842d6b4aea9d774e34147eab74aada89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
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)
|