Fix pep8 and pyflakes
This commit is contained in:
1 parent
b01c3d85ea
commit
5f146cf8bb
2 files changed
+11
-8
No files matched your search
+6
-6
@@ -2,12 +2,12 @@
|
||||
#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' : 'Carrier',
|
||||
'name_es_ES' : 'Transportista',
|
||||
'name': 'Carrier',
|
||||
'name_es_ES': 'Transportista',
|
||||
'name_de_DE': 'Frachtführer',
|
||||
'name_fr_FR': 'Transporteur',
|
||||
'version' : '2.3.0',
|
||||
'author' : 'B2CK',
|
||||
'version': '2.3.0',
|
||||
'author': 'B2CK',
|
||||
'email': 'info@b2ck.com',
|
||||
'website': 'http://www.tryton.org/',
|
||||
'description': 'Define carriers.',
|
||||
@@ -16,13 +16,13 @@
|
||||
- Ermöglicht die Definition von Frachtführern.
|
||||
''',
|
||||
'description_fr_FR': 'Définit des transporteurs.',
|
||||
'depends' : [
|
||||
'depends': [
|
||||
'ir',
|
||||
'res',
|
||||
'party',
|
||||
'product',
|
||||
],
|
||||
'xml' : [
|
||||
'xml': [
|
||||
'carrier.xml',
|
||||
],
|
||||
'translation': [
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env python
|
||||
#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):
|
||||
@@ -32,9 +33,11 @@ class CarrierTestCase(unittest.TestCase):
|
||||
'''
|
||||
test_depends()
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(CarrierTestCase))
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
CarrierTestCase))
|
||||
return suite
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in new issue
Block a user