mirror of
https://github.com/NaN-tic/trytond-sale_discount_visible.git
synced 2023-12-14 05:13:13 +01:00
Cleanup tests
This commit is contained in:
parent
ad9c653f9c
commit
309d0ff1b3
|
@ -2,31 +2,19 @@
|
|||
# This file is part of the sale_discount_visible module for Tryton.
|
||||
# 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_depends
|
||||
|
||||
|
||||
class SaleDiscountVisibleTestCase(unittest.TestCase):
|
||||
'''
|
||||
Test Sale Discount Visible module.
|
||||
'''
|
||||
'Test Sale Discount Visible module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('sale_discount_visible')
|
||||
|
||||
def test0006depends(self):
|
||||
'''
|
||||
Test depends.
|
||||
'''
|
||||
'Test depends'
|
||||
test_depends()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue