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
Labels
Merge Requests
143
Merge Requests
143
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
2a66105f
Commit
2a66105f
authored
Oct 18, 2022
by
Kazuhiko Shiozaki
Committed by
Arnaud Fontaine
Mar 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: always copy custom_zodb.py, otherwise Python 3 incompatible one remains forever.
parent
dd4ca1c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
product/ERP5Type/tests/runUnitTest.py
product/ERP5Type/tests/runUnitTest.py
+7
-8
No files found.
product/ERP5Type/tests/runUnitTest.py
View file @
2a66105f
...
...
@@ -214,14 +214,13 @@ def initializeInstanceHome(tests_framework_home,
else
:
os
.
symlink
(
src
,
d
)
d
=
'custom_zodb.py'
if
not
os
.
path
.
exists
(
d
):
src
=
os
.
path
.
join
(
tests_framework_home
,
d
)
if
os
.
path
.
islink
(
d
):
os
.
remove
(
d
)
if
WIN
:
shutil
.
copy
(
src
,
d
)
else
:
os
.
symlink
(
src
,
d
)
src
=
os
.
path
.
join
(
tests_framework_home
,
d
)
if
os
.
path
.
exists
(
d
):
os
.
remove
(
d
)
if
WIN
:
shutil
.
copy
(
src
,
d
)
else
:
os
.
symlink
(
src
,
d
)
finally
:
os
.
chdir
(
old_pwd
)
...
...
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