Add test_suite in setup.py

This commit is contained in:
Cédric Krier
2010-03-12 17:49:39 +01:00
parent d7f0b679e3
commit ec33baa605
3 changed files with 4 additions and 4 deletions
+3
View File
@@ -30,6 +30,7 @@ setup(name='trytond_product_cost_history',
package_dir={'trytond.modules.product_cost_history': '.'},
packages=[
'trytond.modules.product_cost_history',
'trytond.modules.product_cost_history.tests',
],
package_data={
'trytond.modules.product_cost_history': info.get('xml', []) \
@@ -58,4 +59,6 @@ setup(name='trytond_product_cost_history',
[trytond.modules]
product_cost_history = trytond.modules.product_cost_history
""",
test_suite='tests',
test_loader='trytond.test_loader:Loader',
)
+1 -1
View File
@@ -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_product_cost_history import *
from test_product_cost_history import suite
-3
View File
@@ -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')))