Add test_suite in setup.py
This commit is contained in:
@@ -30,6 +30,7 @@ setup(name='trytond_account',
|
||||
package_dir={'trytond.modules.account': '.'},
|
||||
packages=[
|
||||
'trytond.modules.account',
|
||||
'trytond.modules.account.tests',
|
||||
],
|
||||
package_data={
|
||||
'trytond.modules.account': info.get('xml', []) \
|
||||
@@ -61,4 +62,6 @@ setup(name='trytond_account',
|
||||
[trytond.modules]
|
||||
account = trytond.modules.account
|
||||
""",
|
||||
test_suite='tests',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
from test_account import *
|
||||
from test_account import suite
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
#This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
#this repository contains the full copyright notices and license terms.
|
||||
|
||||
import logging
|
||||
logging.basicConfig(level=logging.FATAL)
|
||||
|
||||
import sys, os
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', '..', '..', '..', 'trytond')))
|
||||
|
||||
Reference in New Issue
Block a user