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
146
Merge Requests
146
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
0fdc6091
Commit
0fdc6091
authored
Mar 23, 2024
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CodingStyleTestCase: check all installed business templates.
parent
d53f0248
Pipeline
#33641
failed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
product/ERP5Type/tests/CodingStyleTestCase.py
product/ERP5Type/tests/CodingStyleTestCase.py
+2
-3
product/ERP5Type/tests/Python3StyleTest.py
product/ERP5Type/tests/Python3StyleTest.py
+2
-3
No files found.
product/ERP5Type/tests/CodingStyleTestCase.py
View file @
0fdc6091
...
...
@@ -62,10 +62,9 @@ class CodingStyleTestCase(ERP5TypeTestCase):
"""
Return the list of business templates to be
checked for consistency. By default, return
the last business template of the
list of installed business templates.
all installed business templates.
"""
return
self
.
getBusinessTemplateList
()
[
-
1
:]
return
self
.
getBusinessTemplateList
()
def
afterSetUp
(
self
):
self
.
login
()
...
...
product/ERP5Type/tests/Python3StyleTest.py
View file @
0fdc6091
...
...
@@ -51,10 +51,9 @@ class Python3StyleTest(ERP5TypeTestCase):
"""
Return the list of business templates to be
checked for consistency. By default, return
the last business template of the
list of installed business templates.
all installed business templates.
"""
return
self
.
getBusinessTemplateList
()
[
-
1
:]
return
self
.
getBusinessTemplateList
()
def
_testFixer
(
self
,
fixer_name
):
"""check fixer is applied on given path
...
...
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