mirror of
https://github.com/NaN-tic/trytond-carrier_zip.git
synced 2023-12-14 02:13:03 +01:00
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.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# 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 trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class CarrierZipTestCase(unittest.TestCase):
|
||||
class CarrierZipTestCase(ModuleTestCase):
|
||||
'Test Carrier Zip module'
|
||||
|
||||
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()
|
||||
module = 'carrier_zip'
|
||||
|
||||
|
||||
def suite():
|
||||
|
@ -30,5 +18,3 @@ def suite():
|
|||
CarrierZipTestCase))
|
||||
return suite
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.TextTestRunner(verbosity=2).run(suite())
|
||||
|
|
Loading…
Reference in a new issue