Cleanup tests

This commit is contained in:
jmartin 2014-11-07 13:03:15 +01:00
parent 8d1538f55e
commit 9d674694cf
3 changed files with 12 additions and 26 deletions

View File

@ -1,6 +1,6 @@
#This file is part account_dunning_cron module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
# This file is part account_dunning_cron module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from trytond.pool import Pool
from .account import *
from .dunning import *

View File

@ -1,6 +1,6 @@
#This file is part account_dunning_cron module for Tryton.
#The COPYRIGHT file at the top level of this repository contains
#the full copyright notices and license terms.
# This file is part account_dunning_cron module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from .test_account_dunning_cron import suite

View File

@ -1,38 +1,24 @@
#!/usr/bin/env python
#This file is part account_dunning_cron 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))
# This file is part account_dunning_cron module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
import unittest
import trytond.tests.test_tryton
from trytond.tests.test_tryton import test_view, test_depends
class AccountDunningCronTestCase(unittest.TestCase):
'''
Test Account Dunning Cron module.
'''
'Test Account Dunning Cron module'
def setUp(self):
trytond.tests.test_tryton.install_module('account_dunning_cron')
def test0005views(self):
'''
Test views.
'''
'Test views'
test_view('account_dunning_cron')
def test0006depends(self):
'''
Test depends.
'''
'Test depends'
test_depends()