diff --git a/__tryton__.py b/__tryton__.py index 3c4f354536..6d8317379b 100644 --- a/__tryton__.py +++ b/__tryton__.py @@ -1,15 +1,15 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. { - "name" : "Account Invoice Line Standalone", - "name_bg_BG" : "Ред от независима фактура към сметка", - "name_ca_ES" : "Línia de factura independent", - "name_de_DE" : "Fakturierung ungebundene Rechnungsposition", - "name_es_CO" : "Línea de factura autónoma", - "name_es_ES" : "Línea de factura independiente", - "name_fr_FR" : "Ligne de facture autonome", - "version" : "2.3.0", - "author" : "B2CK", + "name": "Account Invoice Line Standalone", + "name_bg_BG": "Ред от независима фактура към сметка", + "name_ca_ES": "Línia de factura independent", + "name_de_DE": "Fakturierung ungebundene Rechnungsposition", + "name_es_CO": "Línea de factura autónoma", + "name_es_ES": "Línea de factura independiente", + "name_fr_FR": "Ligne de facture autonome", + "version": "2.3.0", + "author": "B2CK", 'email': 'info@b2ck.com', 'website': 'http://www.tryton.org/', "description": '''Allow to create standalone invoice lines and add them later to a draft @@ -41,11 +41,11 @@ con el mismo tipo, empresa, divisa y tercero. ensuite à des factures dans l'état brouillon. La facture n'acceptera que des lignes qui ont les même type, société, devis et tiers. ''', - "depends" : [ + "depends": [ "ir", "account_invoice", ], - "xml" : [ + "xml": [ "invoice.xml", ], 'translation': [ diff --git a/setup.py b/setup.py index 1483b53163..49877d2449 100644 --- a/setup.py +++ b/setup.py @@ -33,8 +33,8 @@ setup(name='trytond_account_invoice_line_standalone', 'trytond.modules.account_invoice_line_standalone.tests', ], package_data={ - 'trytond.modules.account_invoice_line_standalone': info.get('xml', []) \ - + info.get('translation', []), + 'trytond.modules.account_invoice_line_standalone': \ + info.get('xml', []) + info.get('translation', []), }, classifiers=[ 'Development Status :: 5 - Production/Stable', diff --git a/tests/test_account_invoice_line_standalone.py b/tests/test_account_invoice_line_standalone.py index 82a60d2daf..a3ff7b263e 100644 --- a/tests/test_account_invoice_line_standalone.py +++ b/tests/test_account_invoice_line_standalone.py @@ -2,7 +2,8 @@ #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 sys, os +import sys +import os DIR = os.path.abspath(os.path.normpath(os.path.join(__file__, '..', '..', '..', '..', '..', 'trytond'))) if os.path.isdir(DIR): @@ -34,6 +35,7 @@ class AccountInvoiceLineStandaloneTestCase(unittest.TestCase): ''' test_depends() + def suite(): suite = trytond.tests.test_tryton.suite() suite.addTests(unittest.TestLoader().loadTestsFromTestCase(