Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
3e5299cb
Commit
3e5299cb
authored
8 years ago
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qa: fix testImporter when run several times with --loop
parent
8d21aaee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
neo/tests/threaded/testImporter.py
neo/tests/threaded/testImporter.py
+2
-1
No files found.
neo/tests/threaded/testImporter.py
View file @
3e5299cb
...
@@ -18,7 +18,7 @@ from collections import deque
...
@@ -18,7 +18,7 @@ from collections import deque
from
cPickle
import
Pickler
,
Unpickler
from
cPickle
import
Pickler
,
Unpickler
from
cStringIO
import
StringIO
from
cStringIO
import
StringIO
from
itertools
import
islice
,
izip_longest
from
itertools
import
islice
,
izip_longest
import
os
,
unittest
import
os
,
shutil
,
unittest
import
neo
,
transaction
,
ZODB
import
neo
,
transaction
,
ZODB
from
neo.lib
import
logging
from
neo.lib
import
logging
from
neo.lib.util
import
u64
from
neo.lib.util
import
u64
...
@@ -131,6 +131,7 @@ class ImporterTests(NEOThreadedTest):
...
@@ -131,6 +131,7 @@ class ImporterTests(NEOThreadedTest):
def
test
(
self
):
def
test
(
self
):
importer
=
[]
importer
=
[]
fs_dir
=
os
.
path
.
join
(
getTempDirectory
(),
self
.
id
())
fs_dir
=
os
.
path
.
join
(
getTempDirectory
(),
self
.
id
())
shutil
.
rmtree
(
fs_dir
,
1
)
# for --loop
os
.
mkdir
(
fs_dir
)
os
.
mkdir
(
fs_dir
)
src_root
,
=
neo
.
__path__
src_root
,
=
neo
.
__path__
fs_list
=
"root"
,
"client"
,
"master"
,
"tests"
fs_list
=
"root"
,
"client"
,
"master"
,
"tests"
...
...
This diff is collapsed.
Click to expand it.
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