Add test_suite in setup.py

This commit is contained in:
Cédric Krier committed 2010-03-12 17:49:40 +01:00
1 parent 32ef284e36
commit 23ebd91a13
3 files changed
+4 -4

No files matched your search

+3
View File
@@ -30,6 +30,7 @@ setup(name='trytond_purchase_invoice_line_standalone',
package_dir={'trytond.modules.purchase_invoice_line_standalone': '.'},
packages=[
'trytond.modules.purchase_invoice_line_standalone',
'trytond.modules.purchase_invoice_line_standalone.tests',
],
package_data={
'trytond.modules.purchase_invoice_line_standalone': info.get('xml', []) \
@@ -57,4 +58,6 @@ setup(name='trytond_purchase_invoice_line_standalone',
[trytond.modules]
purchase_invoice_line_standalone = trytond.modules.purchase_invoice_line_standalone
""",
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_purchase_invoice_line_standalone import *
from test_purchase_invoice_line_standalone 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')))