mirror of
https://github.com/NaN-tic/trytond-carrier_zip.git
synced 2023-12-14 02:13:03 +01:00
Cleanup tests
This commit is contained in:
parent
102a5fd599
commit
8b3a57b3f9
|
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue