diff options
| author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-14 22:48:43 +0100 |
|---|---|---|
| committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2017-02-14 23:31:37 +0100 |
| commit | a12c3d3f8ea255dd03bb7e993fa85eb00f47ab29 (patch) | |
| tree | 82595e20d3fbbbb568de9178b7645a40fb7b0923 /test/mitmproxy/tools/console/test_common.py | |
| parent | 04748e6f3f654733afafea3701d4ed03b08b8167 (diff) | |
| download | mitmproxy-a12c3d3f8ea255dd03bb7e993fa85eb00f47ab29.tar.gz mitmproxy-a12c3d3f8ea255dd03bb7e993fa85eb00f47ab29.tar.bz2 mitmproxy-a12c3d3f8ea255dd03bb7e993fa85eb00f47ab29.zip | |
restructure and move test files
add empty test files to satisfy linter
Diffstat (limited to 'test/mitmproxy/tools/console/test_common.py')
| -rw-r--r-- | test/mitmproxy/tools/console/test_common.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/mitmproxy/tools/console/test_common.py b/test/mitmproxy/tools/console/test_common.py new file mode 100644 index 00000000..236ebb41 --- /dev/null +++ b/test/mitmproxy/tools/console/test_common.py @@ -0,0 +1,12 @@ +from mitmproxy.test import tflow +from mitmproxy.tools.console import common + +from ...conftest import skip_appveyor + + +@skip_appveyor +def test_format_flow(): + f = tflow.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) |
