Cleanup tests

This commit is contained in:
jmartin 2014-11-07 14:20:53 +01:00
parent 102a5fd599
commit 8b3a57b3f9
2 changed files with 6 additions and 13 deletions

View file

@ -0,0 +1,3 @@
Version 3.4.0 - 2014-11-05

View file

@ -7,30 +7,20 @@ import os
import sys import sys
import trytond.tests.test_tryton import trytond.tests.test_tryton
import unittest import unittest
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))
class CarrierZipTestCase(unittest.TestCase): class CarrierZipTestCase(unittest.TestCase):
''' 'Test Carrier Zip module'
Test Carrier Zip module.
'''
def setUp(self): def setUp(self):
trytond.tests.test_tryton.install_module('carrier_zip') trytond.tests.test_tryton.install_module('carrier_zip')
def test0005views(self): def test0005views(self):
''' 'Test views'
Test views.
'''
test_view('carrier_zip') test_view('carrier_zip')
def test0006depends(self): def test0006depends(self):
''' 'Test depends'
Test depends.
'''
test_depends() test_depends()