mirror of
https://github.com/NaN-tic/trytond-analytic_line_state.git
synced 2023-12-14 03:33:02 +01:00
Cleanup tests
This commit is contained in:
parent
bb3ef81ac9
commit
b8cf32fc53
1 changed files with 0 additions and 11 deletions
|
@ -3,16 +3,8 @@
|
|||
# copyright notices and license terms.
|
||||
import datetime
|
||||
import unittest
|
||||
import sys
|
||||
import os
|
||||
from dateutil.relativedelta import relativedelta
|
||||
from decimal import Decimal
|
||||
|
||||
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 trytond.tests.test_tryton
|
||||
from trytond.exceptions import UserError
|
||||
from trytond.tests.test_tryton import (POOL, DB_NAME, USER, CONTEXT,
|
||||
|
@ -438,6 +430,3 @@ def suite():
|
|||
suite.addTest(test)
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
|
||||
return suite
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.TextTestRunner(verbosity=2).run(suite())
|
||||
|
|
Loading…
Reference in a new issue