trytond-csv_sale_shipment_cost/tests/test_csv_sale_shipment_cost.py
2014-04-23 11:11:19 +02:00

39 lines
1 KiB
Python

# This file is part of csv_sale_shipment_cost 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
import os
import sys
import trytond.tests.test_tryton
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 CSVSaleShipmentCostTestCase(unittest.TestCase):
'''
Test CSV Sale Shipment Cost module.
'''
def setUp(self):
trytond.tests.test_tryton.install_module('csv_sale_shipment_cost')
def test0006depends(self):
'''
Test depends.
'''
test_depends()
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
CSVSaleShipmentCostTestCase))
return suite
if __name__ == '__main__':
unittest.TextTestRunner(verbosity=2).run(suite())