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
7
Merge Requests
7
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
Jérome Perrin
erp5
Commits
00af6607
Commit
00af6607
authored
Oct 18, 2022
by
Kazuhiko Shiozaki
Committed by
Jérome Perrin
May 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: always copy custom_zodb.py, otherwise Python 3 incompatible one remains forever.
parent
ce72b2b8
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 @
00af6607
...
@@ -214,14 +214,13 @@ def initializeInstanceHome(tests_framework_home,
...
@@ -214,14 +214,13 @@ def initializeInstanceHome(tests_framework_home,
else
:
else
:
os
.
symlink
(
src
,
d
)
os
.
symlink
(
src
,
d
)
d
=
'custom_zodb.py'
d
=
'custom_zodb.py'
if
not
os
.
path
.
exists
(
d
):
src
=
os
.
path
.
join
(
tests_framework_home
,
d
)
src
=
os
.
path
.
join
(
tests_framework_home
,
d
)
if
os
.
path
.
exists
(
d
):
if
os
.
path
.
islink
(
d
):
os
.
remove
(
d
)
os
.
remove
(
d
)
if
WIN
:
if
WIN
:
shutil
.
copy
(
src
,
d
)
shutil
.
copy
(
src
,
d
)
else
:
else
:
os
.
symlink
(
src
,
d
)
os
.
symlink
(
src
,
d
)
finally
:
finally
:
os
.
chdir
(
old_pwd
)
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