From b5f9e0ce679c87075d04db0645f18281feeeb01d Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 23 Jul 2013 22:09:53 -0300 Subject: Remove unused imports. --- soledad/src/leap/soledad/auth.py | 3 +-- soledad/src/leap/soledad/tests/test_server.py | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'soledad') diff --git a/soledad/src/leap/soledad/auth.py b/soledad/src/leap/soledad/auth.py index 8c093099..81e838d2 100644 --- a/soledad/src/leap/soledad/auth.py +++ b/soledad/src/leap/soledad/auth.py @@ -24,7 +24,6 @@ they can do token-based auth requests to the Soledad server. """ -from u1db.remote.http_client import HTTPClientBase from u1db import errors @@ -68,4 +67,4 @@ class TokenBasedAuth(object): return [('Authorization', 'Token %s' % auth.encode('base64')[:-1])] else: raise errors.UnknownAuthMethod( - 'Wrong credentials: %s' % self._creds) + 'Wrong credentials: %s' % self._creds) \ No newline at end of file diff --git a/soledad/src/leap/soledad/tests/test_server.py b/soledad/src/leap/soledad/tests/test_server.py index 490d2fc8..ba01a391 100644 --- a/soledad/src/leap/soledad/tests/test_server.py +++ b/soledad/src/leap/soledad/tests/test_server.py @@ -21,17 +21,13 @@ Tests for server-related functionality. """ import os -import shutil import tempfile import simplejson as json -import hashlib import mock from leap.soledad import Soledad from leap.soledad_server import ( - SoledadApp, - SoledadAuthMiddleware, URLToAuth, ) from leap.soledad_server.couch import ( @@ -42,11 +38,9 @@ from leap.soledad import target from leap.common.testing.basetest import BaseLeapTest -from leap.soledad.tests import ADDRESS from leap.soledad.tests.u1db_tests import ( TestCaseWithServer, simple_doc, - nested_doc, ) from leap.soledad.tests.test_couch import CouchDBTestCase from leap.soledad.tests.test_target import ( -- cgit v1.2.3