diff --git a/tests/test_subscription.py b/tests/test_subscription.py index c2eda98..c4a3eba 100644 --- a/tests/test_subscription.py +++ b/tests/test_subscription.py @@ -1,25 +1,14 @@ -#!/usr/bin/env python -# This file is part of subscription module of Tryton. +# This file is part of the subscription 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 +from trytond.tests.test_tryton import ModuleTestCase -class SubscriptionTestCase(unittest.TestCase): +class SubscriptionTestCase(ModuleTestCase): 'Test Subscription module' - - def setUp(self): - trytond.tests.test_tryton.install_module('subscription') - - def test0005views(self): - 'Test views' - test_view('subscription') - - def test0006depends(self): - 'Test depends' - test_depends() + module = 'subscription' def suite():