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
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
Mukul
erp5
Commits
12c54614
Commit
12c54614
authored
May 05, 2011
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Products was renamed to product
parent
9f715052
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/__init__.py
tests/__init__.py
+1
-1
No files found.
tests/__init__.py
View file @
12c54614
...
@@ -45,7 +45,7 @@ class ERP5(_ERP5):
...
@@ -45,7 +45,7 @@ class ERP5(_ERP5):
def
getTestList
(
self
):
def
getTestList
(
self
):
test_list
=
[]
test_list
=
[]
for
test_path
in
glob
.
glob
(
'
Products
/*/tests/test*.py'
)
+
\
for
test_path
in
glob
.
glob
(
'
product
/*/tests/test*.py'
)
+
\
glob
.
glob
(
'bt5/*/TestTemplateItem/test*.py'
):
glob
.
glob
(
'bt5/*/TestTemplateItem/test*.py'
):
test_case
=
test_path
.
split
(
os
.
sep
)[
-
1
][:
-
3
]
# remove .py
test_case
=
test_path
.
split
(
os
.
sep
)[
-
1
][:
-
3
]
# remove .py
product
=
test_path
.
split
(
os
.
sep
)[
-
3
]
product
=
test_path
.
split
(
os
.
sep
)[
-
3
]
...
...
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