summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIuri de Silvio <iurisilvio@gmail.com>2011-12-03 10:54:49 -0200
committerIuri de Silvio <iurisilvio@gmail.com>2011-12-03 10:54:49 -0200
commit69c4a3fecb9b7be6a28edd3fef1fba3387afcb1b (patch)
tree87668053f9c1c7bcbbacae6323e47867884f31c6
parent86d0b0bf7beb155b0ee931c8284346f53d25fd46 (diff)
downloadbottle-69c4a3fecb9b7be6a28edd3fef1fba3387afcb1b.tar.gz
Removing some useless imports.
-rwxr-xr-xtest/test_environ.py2
-rw-r--r--test/test_mount.py2
-rwxr-xr-xtest/test_outputfilter.py3
-rw-r--r--test/test_securecookies.py2
-rwxr-xr-xtest/test_wsgi.py2
-rwxr-xr-xtest/tools.py2
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. '''