diff options
author | Iuri de Silvio <iurisilvio@gmail.com> | 2011-12-03 10:54:49 -0200 |
---|---|---|
committer | Iuri de Silvio <iurisilvio@gmail.com> | 2011-12-03 10:54:49 -0200 |
commit | 69c4a3fecb9b7be6a28edd3fef1fba3387afcb1b (patch) | |
tree | 87668053f9c1c7bcbbacae6323e47867884f31c6 | |
parent | 86d0b0bf7beb155b0ee931c8284346f53d25fd46 (diff) | |
download | bottle-69c4a3fecb9b7be6a28edd3fef1fba3387afcb1b.tar.gz |
Removing some useless imports.
-rwxr-xr-x | test/test_environ.py | 2 | ||||
-rw-r--r-- | test/test_mount.py | 2 | ||||
-rwxr-xr-x | test/test_outputfilter.py | 3 | ||||
-rw-r--r-- | test/test_securecookies.py | 2 | ||||
-rwxr-xr-x | test/test_wsgi.py | 2 | ||||
-rwxr-xr-x | 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. ''' |