Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
9292c294
Commit
9292c294
authored
May 14, 2019
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CMFActivity.tests: Duplicate & unused imports cleanup.
parent
5dfae179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
product/CMFActivity/tests/testCMFActivity.py
product/CMFActivity/tests/testCMFActivity.py
+0
-3
No files found.
product/CMFActivity/tests/testCMFActivity.py
View file @
9292c294
...
@@ -49,14 +49,12 @@ from Products.CMFActivity.ActivityTool import (
...
@@ -49,14 +49,12 @@ from Products.CMFActivity.ActivityTool import (
cancelProcessShutdown
,
Message
,
getCurrentNode
,
getServerAddress
)
cancelProcessShutdown
,
Message
,
getCurrentNode
,
getServerAddress
)
from
_mysql_exceptions
import
OperationalError
from
_mysql_exceptions
import
OperationalError
from
Products.ZMySQLDA.db
import
DB
from
Products.ZMySQLDA.db
import
DB
from
sklearn.externals.joblib.hashing
import
hash
as
joblib_hash
import
gc
import
gc
import
random
import
random
import
threading
import
threading
import
weakref
import
weakref
import
transaction
import
transaction
from
App.config
import
getConfiguration
from
App.config
import
getConfiguration
from
asyncore
import
socket_map
import
socket
import
socket
class
CommitFailed
(
Exception
):
class
CommitFailed
(
Exception
):
...
@@ -1552,7 +1550,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
...
@@ -1552,7 +1550,6 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
organisation
.
activate
(
tag
=
'foo'
,
activity
=
'SQLQueue'
).
firstTest
()
organisation
.
activate
(
tag
=
'foo'
,
activity
=
'SQLQueue'
).
firstTest
()
organisation
.
activate
(
after_tag
=
'foo'
,
activity
=
'SQLQueue'
).
secondTest
()
organisation
.
activate
(
after_tag
=
'foo'
,
activity
=
'SQLQueue'
).
secondTest
()
self
.
commit
()
self
.
commit
()
import
gc
gc
.
disable
()
gc
.
disable
()
self
.
tic
()
self
.
tic
()
gc
.
enable
()
gc
.
enable
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment