Tests
This commit is contained in:
parent
0d64b79106
commit
7018509d64
|
@ -2,26 +2,14 @@
|
||||||
# This file is part of the carrier_zip module for Tryton.
|
# This file is part of the carrier_zip module for Tryton.
|
||||||
# The COPYRIGHT file at the top level of this repository contains the full
|
# The COPYRIGHT file at the top level of this repository contains the full
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
from trytond.tests.test_tryton import test_depends, test_view
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
import trytond.tests.test_tryton
|
|
||||||
import unittest
|
import unittest
|
||||||
|
import trytond.tests.test_tryton
|
||||||
|
from trytond.tests.test_tryton import ModuleTestCase
|
||||||
|
|
||||||
|
|
||||||
class CarrierZipTestCase(unittest.TestCase):
|
class CarrierZipTestCase(ModuleTestCase):
|
||||||
'Test Carrier Zip module'
|
'Test Carrier Zip module'
|
||||||
|
module = 'carrier_zip'
|
||||||
def setUp(self):
|
|
||||||
trytond.tests.test_tryton.install_module('carrier_zip')
|
|
||||||
|
|
||||||
def test0005views(self):
|
|
||||||
'Test views'
|
|
||||||
test_view('carrier_zip')
|
|
||||||
|
|
||||||
def test0006depends(self):
|
|
||||||
'Test depends'
|
|
||||||
test_depends()
|
|
||||||
|
|
||||||
|
|
||||||
def suite():
|
def suite():
|
||||||
|
@ -30,5 +18,3 @@ def suite():
|
||||||
CarrierZipTestCase))
|
CarrierZipTestCase))
|
||||||
return suite
|
return suite
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
unittest.TextTestRunner(verbosity=2).run(suite())
|
|
||||||
|
|
Loading…
Reference in New Issue