From 19ac66bbcc181c5238d5aa5d42e1be698c780726 Mon Sep 17 00:00:00 2001 From: Sergi Almacellas Abellana Date: Tue, 3 Jun 2014 09:41:13 +0200 Subject: [PATCH] Cleanup tests --- tests/test_product_brand.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/test_product_brand.py b/tests/test_product_brand.py index 63199ab..8b88ad0 100644 --- a/tests/test_product_brand.py +++ b/tests/test_product_brand.py @@ -1,13 +1,6 @@ #!/usr/bin/env python # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. -import sys -import os -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)) - import unittest import trytond.tests.test_tryton from trytond.tests.test_tryton import test_view, test_depends @@ -38,6 +31,3 @@ def suite(): suite = trytond.tests.test_tryton.suite() suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase)) return suite - -if __name__ == '__main__': - unittest.TextTestRunner(verbosity=2).run(suite())