Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
Jérome Perrin
neoppod
Commits
a0ad2b86
Commit
a0ad2b86
authored
Dec 20, 2011
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make threaded test suite executable as a stand-alone module.
parent
5b91bcef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+4
-0
No files found.
neo/tests/threaded/test.py
View file @
a0ad2b86
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
import
threading
import
threading
import
transaction
import
transaction
import
unittest
from
thread
import
get_ident
from
thread
import
get_ident
from
persistent
import
Persistent
from
persistent
import
Persistent
from
neo.storage.transactions
import
TransactionManager
,
\
from
neo.storage.transactions
import
TransactionManager
,
\
...
@@ -384,3 +385,6 @@ class Test(NEOThreadedTest):
...
@@ -384,3 +385,6 @@ class Test(NEOThreadedTest):
t1
,
=
cluster
.
client
.
undoLog
(
0
,
10
)
t1
,
=
cluster
.
client
.
undoLog
(
0
,
10
)
finally
:
finally
:
cluster
.
stop
()
cluster
.
stop
()
if
__name__
==
"__main__"
:
unittest
.
main
()
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