Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
caff8a85
Commit
caff8a85
authored
Jun 20, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Additional bt5 repository in ERP5TypeTestCase + ERP5TypeTestSuite
parent
95ab8e51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
product/ERP5Type/tests/ERP5TypeTestCase.py
product/ERP5Type/tests/ERP5TypeTestCase.py
+1
-0
product/ERP5Type/tests/ERP5TypeTestSuite.py
product/ERP5Type/tests/ERP5TypeTestSuite.py
+2
-0
No files found.
product/ERP5Type/tests/ERP5TypeTestCase.py
View file @
caff8a85
...
...
@@ -733,6 +733,7 @@ class ERP5TypeCommandLineTestCase(ERP5TypeTestCaseMixin):
bt5_path
=
os
.
environ
.
get
(
'erp5_tests_bt5_path'
)
if
bt5_path
:
bt5_path_list
=
bt5_path
.
split
(
','
)
bt5_path_list
+=
[
os
.
path
.
join
(
path
,
"*"
)
for
path
in
bt5_path_list
]
else
:
bt5_path
=
os
.
path
.
join
(
instancehome
,
'bt5'
)
bt5_path_list
=
bt5_path
,
os
.
path
.
join
(
bt5_path
,
'*'
)
...
...
product/ERP5Type/tests/ERP5TypeTestSuite.py
View file @
caff8a85
...
...
@@ -21,6 +21,8 @@ class ERP5TypeTestSuite(TestSuite):
def runUnitTest(self, *args, **kw):
if self.instance:
args = ('--instance_home=unit_test.%u' % self.instance,) + args
if self.__dict__.has_key("
bt5_path
"):
args = ("
--
bt5_path
=%
s
" % self.bt5_path,) + args
instance_number = self.instance or 1
mysql_db_list = self.mysql_db_list[
(instance_number-1) * self.mysql_db_count:
...
...
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