summaryrefslogtreecommitdiff
path: root/common/src/leap/soledad/common/tests/u1db_tests/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/leap/soledad/common/tests/u1db_tests/__init__.py')
-rw-r--r--common/src/leap/soledad/common/tests/u1db_tests/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/src/leap/soledad/common/tests/u1db_tests/__init__.py b/common/src/leap/soledad/common/tests/u1db_tests/__init__.py
index 787494d3..9efe7ebf 100644
--- a/common/src/leap/soledad/common/tests/u1db_tests/__init__.py
+++ b/common/src/leap/soledad/common/tests/u1db_tests/__init__.py
@@ -238,6 +238,7 @@ class DatabaseBaseTests(TestCase):
class ServerStateForTests(server_state.ServerState):
+
"""Used in the test suite, so we don't have to touch disk, etc."""
def __init__(self):
@@ -284,6 +285,7 @@ class ServerStateForTests(server_state.ServerState):
class ResponderForTests(object):
+
"""Responder for tests."""
_started = False
sent_response = False
@@ -309,6 +311,7 @@ class TestCaseWithServer(TestCase):
# hook point
# should return (ServerClass, "shutdown method name", "url_scheme")
class _RequestHandler(simple_server.WSGIRequestHandler):
+
def log_request(*args):
pass # suppress
@@ -394,6 +397,7 @@ token3 = oauth.OAuthToken('kkkk3', 'ZYX')
class TestingOAuthDataStore(oauth.OAuthDataStore):
+
"""In memory predefined OAuthDataStore for testing."""
consumers = {