Cleanup tests
This commit is contained in:
parent
e76754c050
commit
e1beffb79d
|
@ -1,3 +1,5 @@
|
|||
Version 3.4.0 - 2014-11-05
|
||||
|
||||
Version 2.6.0 - 2012-10-08
|
||||
* Simplify module information with python configuration
|
||||
* Active Record
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#This file is part of base_external_mapping module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
# This file is part of base_external_mapping module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
|
||||
from trytond.pool import Pool
|
||||
from .base_external_mapping import *
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#This file is part of base_external_mapping module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
# This file is part of base_external_mapping module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
from genshi.template import NewTextTemplate as TextTemplate
|
||||
from trytond.model import ModelView, ModelSQL, fields
|
||||
from trytond.pool import Pool
|
||||
|
|
6
setup.py
6
setup.py
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env python
|
||||
#This file is part base_external_mapping module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
# This file is part base_external_mapping module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
|
||||
from setuptools import setup
|
||||
import re
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#This file is part base_external_mapping module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
# This file is part base_external_mapping module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
|
||||
from .test_base_external_mapping import suite
|
||||
|
||||
|
|
|
@ -1,16 +1,8 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: UTF-8 -*-
|
||||
#This file is part base_external_mapping module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
|
||||
import sys
|
||||
import os
|
||||
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
|
||||
'..', '..', '..', '..', '..', 'trytond')))
|
||||
if os.path.isdir(DIR):
|
||||
sys.path.insert(0, os.path.dirname(DIR))
|
||||
|
||||
# This file is partbase_external_mapping module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
import unittest
|
||||
from decimal import Decimal
|
||||
|
||||
|
@ -33,9 +25,7 @@ field_type = {
|
|||
|
||||
|
||||
class BaseExternalMappingTestCase(unittest.TestCase):
|
||||
'''
|
||||
Test BaseExternalMapping module.
|
||||
'''
|
||||
'Test BaseExternalMapping module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('product')
|
||||
|
@ -48,15 +38,11 @@ class BaseExternalMappingTestCase(unittest.TestCase):
|
|||
self.product = POOL.get('product.product')
|
||||
|
||||
def test0005views(self):
|
||||
'''
|
||||
Test views.
|
||||
'''
|
||||
'Test views'
|
||||
test_view('base_external_mapping')
|
||||
|
||||
def test0006depends(self):
|
||||
'''
|
||||
Test depends.
|
||||
'''
|
||||
'Test depends'
|
||||
test_depends()
|
||||
|
||||
def test0010create_mapping(self):
|
||||
|
|
Loading…
Reference in New Issue