Commit adaf5a1a authored by Jérome Perrin's avatar Jérome Perrin

dms: pylint

parent 1c91e20a
......@@ -66,7 +66,6 @@ from threading import Thread
import six.moves.http_client
from six.moves.urllib.request import urlopen
from six.moves.urllib.parse import urlencode
import difflib
import re
from AccessControl import Unauthorized
from Products.ERP5Type import Permissions
......
......@@ -121,7 +121,7 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
def getTitle(self):
return "ERP5WebWithDms"
def login(self):
def login(self, *args, **kw):
uf = self.getPortal().acl_users
uf._doAddUser(self.manager_username, self.manager_password, ['Manager'], [])
user = uf.getUserById(self.manager_username).__of__(uf)
......@@ -153,7 +153,6 @@ class TestERP5WebWithDms(ERP5TypeTestCase, ZopeTestCase.Functional):
self.tic()
def beforeTearDown(self):
return
self.clearModule(self.portal.web_site_module)
self.clearModule(self.portal.web_page_module)
......
......@@ -28,7 +28,6 @@
#
##############################################################################
import unittest
import os
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.utils import FileUpload
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment