From 69c4a3fecb9b7be6a28edd3fef1fba3387afcb1b Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Sat, 3 Dec 2011 10:54:49 -0200 Subject: Removing some useless imports. --- test/test_environ.py | 2 +- test/test_mount.py | 2 +- test/test_outputfilter.py | 3 ++- test/test_securecookies.py | 2 +- test/test_wsgi.py | 2 +- test/tools.py | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/test_environ.py b/test/test_environ.py index 144ef4f..7f08941 100755 --- a/test/test_environ.py +++ b/test/test_environ.py @@ -4,7 +4,7 @@ import unittest import sys, os.path import bottle -from bottle import request, response, tob, tonat, touni, json_dumps, _e +from bottle import request, response, tob, touni, json_dumps, _e import tools import wsgiref.util import threading diff --git a/test/test_mount.py b/test/test_mount.py index b7f7f9a..bff6806 100644 --- a/test/test_mount.py +++ b/test/test_mount.py @@ -1,6 +1,6 @@ import bottle from tools import ServerTestBase -from bottle import tob, touni, tonat, Bottle +from bottle import Bottle class TestAppMounting(ServerTestBase): def setUp(self): diff --git a/test/test_outputfilter.py b/test/test_outputfilter.py index cdba92e..182bd1e 100755 --- a/test/test_outputfilter.py +++ b/test/test_outputfilter.py @@ -3,7 +3,8 @@ import unittest import bottle -from tools import ServerTestBase, tob, tobs, warn, touni +from bottle import tob, touni +from tools import ServerTestBase, tobs, warn class TestOutputFilter(ServerTestBase): ''' Tests for WSGI functionality, routing and output casting (decorators) ''' diff --git a/test/test_securecookies.py b/test/test_securecookies.py index bfd0b68..f362129 100644 --- a/test/test_securecookies.py +++ b/test/test_securecookies.py @@ -1,7 +1,7 @@ #coding: utf-8 import unittest import bottle -from tools import tob, touni +from bottle import tob, touni class TestSecureCookies(unittest.TestCase): def setUp(self): diff --git a/test/test_wsgi.py b/test/test_wsgi.py index cf82868..780399b 100755 --- a/test/test_wsgi.py +++ b/test/test_wsgi.py @@ -3,7 +3,7 @@ import unittest import sys, os.path import bottle from tools import ServerTestBase -from bottle import tob, touni, tonat +from bottle import tob class TestWsgi(ServerTestBase): ''' Tests for WSGI functionality, routing and output casting (decorators) ''' diff --git a/test/tools.py b/test/tools.py index 69b8e4b..c276efa 100755 --- a/test/tools.py +++ b/test/tools.py @@ -13,7 +13,7 @@ from warnings import warn import mimetypes import uuid -from bottle import tob, touni, tonat, BytesIO +from bottle import tob, BytesIO def tobs(data): ''' Transforms bytes or unicode into a byte stream. ''' -- cgit v1.2.1