mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
cleanup tests
This commit is contained in:
parent
823d8a5da8
commit
0d0c2c788d
0
test/mitmproxy/protocol/__init__.py
Normal file
0
test/mitmproxy/protocol/__init__.py
Normal file
@ -1,7 +1,9 @@
|
||||
from __future__ import (absolute_import, print_function, division)
|
||||
|
||||
from netlib.http import http1
|
||||
from netlib.tcp import TCPClient
|
||||
from netlib.tutils import treq
|
||||
from . import tutils, tservers
|
||||
from .. import tutils, tservers
|
||||
|
||||
|
||||
class TestHTTPFlow(object):
|
@ -13,11 +13,11 @@ from mitmproxy import options
|
||||
from mitmproxy.proxy.config import ProxyConfig
|
||||
|
||||
import netlib
|
||||
from ..netlib import tservers as netlib_tservers
|
||||
from ...netlib import tservers as netlib_tservers
|
||||
from netlib.exceptions import HttpException
|
||||
from netlib.http.http2 import framereader
|
||||
|
||||
from . import tservers
|
||||
from .. import tservers
|
||||
|
||||
import logging
|
||||
logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING)
|
@ -1,3 +1,5 @@
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
import pytest
|
||||
import os
|
||||
import tempfile
|
||||
|
Loading…
Reference in New Issue
Block a user