summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Shyba <victor1984@riseup.net>2017-02-15 05:17:43 -0300
committerVictor Shyba <victor1984@riseup.net>2017-02-15 05:17:43 -0300
commit13fdd28cd7448b11a35c794e69e5c64e1c9cd154 (patch)
tree26ae9f1715bff91dddc56cc87854c42fd29c52bb
parent6d7dd39fb3d4f138595f885d19315008d13f8907 (diff)
[style] pep8
-rw-r--r--server/src/leap/soledad/server/session.py1
-rw-r--r--testing/tests/server/test_session.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/server/src/leap/soledad/server/session.py b/server/src/leap/soledad/server/session.py
index 515fd9b3..c1ceb340 100644
--- a/server/src/leap/soledad/server/session.py
+++ b/server/src/leap/soledad/server/session.py
@@ -21,7 +21,6 @@ from zope.interface import implementer
from twisted.cred.credentials import Anonymous
from twisted.cred import error
-from twisted.logger import Logger
from twisted.python import log
from twisted.web import util
from twisted.web._auth import wrapper
diff --git a/testing/tests/server/test_session.py b/testing/tests/server/test_session.py
index b00ab858..ebb94476 100644
--- a/testing/tests/server/test_session.py
+++ b/testing/tests/server/test_session.py
@@ -165,7 +165,6 @@ class SoledadSessionTestCase(unittest.TestCase):
child = getChildForRequest(self.wrapper, request)
request.render(child)
self.assertEqual(request.responseCode, 500)
- #self.assertEqual(len(self.flushLoggedErrors(UnexpectedException)), 1)
errors = self.flushLoggedErrors(UnexpectedException)
self.assertEqual(len(errors), 1)