cleanup tests

This commit is contained in:
Thomas Kriechbaumer 2016-09-01 10:06:51 +02:00
parent 823d8a5da8
commit 0d0c2c788d
4 changed files with 7 additions and 3 deletions

View File

View File

@ -1,7 +1,9 @@
from __future__ import (absolute_import, print_function, division)
from netlib.http import http1 from netlib.http import http1
from netlib.tcp import TCPClient from netlib.tcp import TCPClient
from netlib.tutils import treq from netlib.tutils import treq
from . import tutils, tservers from .. import tutils, tservers
class TestHTTPFlow(object): class TestHTTPFlow(object):

View File

@ -13,11 +13,11 @@ from mitmproxy import options
from mitmproxy.proxy.config import ProxyConfig from mitmproxy.proxy.config import ProxyConfig
import netlib import netlib
from ..netlib import tservers as netlib_tservers from ...netlib import tservers as netlib_tservers
from netlib.exceptions import HttpException from netlib.exceptions import HttpException
from netlib.http.http2 import framereader from netlib.http.http2 import framereader
from . import tservers from .. import tservers
import logging import logging
logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING) logging.getLogger("hyper.packages.hpack.hpack").setLevel(logging.WARNING)

View File

@ -1,3 +1,5 @@
from __future__ import absolute_import, print_function, division
import pytest import pytest
import os import os
import tempfile import tempfile