aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mitmproxy/__init__.py1
-rw-r--r--test/mitmproxy/builtins/test_filestreamer.py1
-rw-r--r--test/mitmproxy/data/addonscripts/error.py1
-rw-r--r--test/mitmproxy/data/addonscripts/stream_modify.py1
-rw-r--r--test/mitmproxy/data/addonscripts/tcp_stream_modify.py1
-rw-r--r--test/mitmproxy/protocol/test_http1.py1
-rw-r--r--test/mitmproxy/protocol/test_websockets.py1
-rw-r--r--test/netlib/http/http1/test_read.py1
-rw-r--r--test/netlib/http/test_response.py1
-rw-r--r--test/netlib/tservers.py1
-rw-r--r--test/pathod/test_language_websocket.py1
11 files changed, 0 insertions, 11 deletions
diff --git a/test/mitmproxy/__init__.py b/test/mitmproxy/__init__.py
index fdb35964..28dc133f 100644
--- a/test/mitmproxy/__init__.py
+++ b/test/mitmproxy/__init__.py
@@ -1,4 +1,3 @@
-
# Silence third-party modules
import logging
logging.getLogger("hyper").setLevel(logging.WARNING)
diff --git a/test/mitmproxy/builtins/test_filestreamer.py b/test/mitmproxy/builtins/test_filestreamer.py
index 6de2d8e7..a43ea0b7 100644
--- a/test/mitmproxy/builtins/test_filestreamer.py
+++ b/test/mitmproxy/builtins/test_filestreamer.py
@@ -1,4 +1,3 @@
-
from .. import tutils, mastertest
import os.path
diff --git a/test/mitmproxy/data/addonscripts/error.py b/test/mitmproxy/data/addonscripts/error.py
index 8ece9fce..4a3c370f 100644
--- a/test/mitmproxy/data/addonscripts/error.py
+++ b/test/mitmproxy/data/addonscripts/error.py
@@ -1,4 +1,3 @@
-
def mkerr():
raise ValueError("Error!")
diff --git a/test/mitmproxy/data/addonscripts/stream_modify.py b/test/mitmproxy/data/addonscripts/stream_modify.py
index bc616342..4fbf45c2 100644
--- a/test/mitmproxy/data/addonscripts/stream_modify.py
+++ b/test/mitmproxy/data/addonscripts/stream_modify.py
@@ -1,4 +1,3 @@
-
def modify(chunks):
for chunk in chunks:
yield chunk.replace(b"foo", b"bar")
diff --git a/test/mitmproxy/data/addonscripts/tcp_stream_modify.py b/test/mitmproxy/data/addonscripts/tcp_stream_modify.py
index af4ccf7e..2281e6e6 100644
--- a/test/mitmproxy/data/addonscripts/tcp_stream_modify.py
+++ b/test/mitmproxy/data/addonscripts/tcp_stream_modify.py
@@ -1,4 +1,3 @@
-
def tcp_message(flow):
message = flow.messages[-1]
if not message.from_client:
diff --git a/test/mitmproxy/protocol/test_http1.py b/test/mitmproxy/protocol/test_http1.py
index e6346d72..8701c8e6 100644
--- a/test/mitmproxy/protocol/test_http1.py
+++ b/test/mitmproxy/protocol/test_http1.py
@@ -1,4 +1,3 @@
-
from netlib.http import http1
from netlib.tcp import TCPClient
from netlib.tutils import treq
diff --git a/test/mitmproxy/protocol/test_websockets.py b/test/mitmproxy/protocol/test_websockets.py
index 88145b30..508a539f 100644
--- a/test/mitmproxy/protocol/test_websockets.py
+++ b/test/mitmproxy/protocol/test_websockets.py
@@ -1,4 +1,3 @@
-
import pytest
import os
import tempfile
diff --git a/test/netlib/http/http1/test_read.py b/test/netlib/http/http1/test_read.py
index 86480e2b..f25cd3e2 100644
--- a/test/netlib/http/http1/test_read.py
+++ b/test/netlib/http/http1/test_read.py
@@ -1,4 +1,3 @@
-
from io import BytesIO
from mock import Mock
import pytest
diff --git a/test/netlib/http/test_response.py b/test/netlib/http/test_response.py
index bf08e6f2..0953f278 100644
--- a/test/netlib/http/test_response.py
+++ b/test/netlib/http/test_response.py
@@ -1,4 +1,3 @@
-
import email
import time
diff --git a/test/netlib/tservers.py b/test/netlib/tservers.py
index e24506ee..b344e25c 100644
--- a/test/netlib/tservers.py
+++ b/test/netlib/tservers.py
@@ -1,4 +1,3 @@
-
import threading
import queue
import io
diff --git a/test/pathod/test_language_websocket.py b/test/pathod/test_language_websocket.py
index 89cbb772..9d533d98 100644
--- a/test/pathod/test_language_websocket.py
+++ b/test/pathod/test_language_websocket.py
@@ -1,4 +1,3 @@
-
from pathod import language
from pathod.language import websockets
import netlib.websockets