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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yoji Takeuchi
erp5
Commits
8b9893fa
Commit
8b9893fa
authored
Mar 21, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: remove useless test_suite function
default is to run all tests
parent
53068ca3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
17 deletions
+2
-17
product/ERP5/tests/testAccounting.py
product/ERP5/tests/testAccounting.py
+2
-17
No files found.
product/ERP5/tests/testAccounting.py
View file @
8b9893fa
...
@@ -30,13 +30,11 @@
...
@@ -30,13 +30,11 @@
"""
"""
import
unittest
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Products.CMFCore.utils
import
_checkPermission
from
Products.CMFCore.utils
import
_checkPermission
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests
.CodingStyleTestCase
import
CodingStyleTestCase
from
Products.ERP5Type.tests
import
CodingStyleTestCase
from
Products.ERP5Type.tests.utils
import
reindex
from
Products.ERP5Type.tests.utils
import
reindex
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
Products.DCWorkflow.DCWorkflow
import
ValidationFailed
from
AccessControl.SecurityManagement
import
newSecurityManager
from
AccessControl.SecurityManagement
import
newSecurityManager
...
@@ -5886,7 +5884,7 @@ class TestInternalInvoiceTransaction(AccountingTestCase):
...
@@ -5886,7 +5884,7 @@ class TestInternalInvoiceTransaction(AccountingTestCase):
portal_type
=
'Internal Invoice Transaction Line'
)])
portal_type
=
'Internal Invoice Transaction Line'
)])
class
TestAccountingCodingStyle
(
CodingStyleTestCase
,
AccountingTestCase
):
class
TestAccountingCodingStyle
(
CodingStyleTestCase
.
CodingStyleTestCase
,
AccountingTestCase
):
"""Runs CodingStyleTestCase checks on erp5_accounting
"""Runs CodingStyleTestCase checks on erp5_accounting
"""
"""
def
getBusinessTemplateList
(
self
):
def
getBusinessTemplateList
(
self
):
...
@@ -5901,16 +5899,3 @@ class TestAccountingCodingStyle(CodingStyleTestCase, AccountingTestCase):
...
@@ -5901,16 +5899,3 @@ class TestAccountingCodingStyle(CodingStyleTestCase, AccountingTestCase):
# we don't want to run AccountingTestCase.tearDown
# we don't want to run AccountingTestCase.tearDown
pass
pass
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
TestAccountingWithSequences
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestTransactions
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestAccounts
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestClosingPeriod
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestTransactionValidation
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestAccountingExport
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestAccountingTransactionTemplate
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestInternalInvoiceTransaction
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestAccountingCodingStyle
))
return
suite
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