diff options
author | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-24 12:26:56 -0300 |
---|---|---|
committer | Tiago Ferraz <tiago.ferraz@gmail.com> | 2015-03-24 12:26:56 -0300 |
commit | 520cd217ed34fc541c0234c6add78a093569a082 (patch) | |
tree | 776316a4e4260d0303608dff95811005b0e852f8 /service/test/support | |
parent | 507934e8d9c9c156c51a31cd2fa87a4adb6088d4 (diff) |
Fix pep8 errors of lambda functions
Altered lambda function to def in order to fix pep8 E371 errors
Diffstat (limited to 'service/test/support')
-rw-r--r-- | service/test/support/test_helper.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/service/test/support/test_helper.py b/service/test/support/test_helper.py index 0f42e433..c37c1408 100644 --- a/service/test/support/test_helper.py +++ b/service/test/support/test_helper.py @@ -15,6 +15,7 @@ # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. from datetime import datetime import io +from twisted.web.test.test_web import DummyRequest from pixelated.adapter.model.mail import InputMail, PixelatedMail @@ -88,9 +89,6 @@ class TestRequest: self.json = json -from twisted.web.test.test_web import DummyRequest - - class PixRequestMock(DummyRequest): def __init__(self, path): DummyRequest.__init__(self, path) |