[IMP]GOLEM Season tests update to v10

This commit is contained in:
Fabien Bourgeois 2017-06-20 07:35:02 +02:00
parent 58f71503e5
commit 1fbfbb24ac
1 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# Copyright 2016 Fabien Bourgeois <fabien@yaltik.com>
# Copyright 2017 Fabien Bourgeois <fabien@yaltik.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
@ -15,14 +15,17 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from openerp.tests.common import TransactionCase
from openerp.models import ValidationError
""" GOLEM season testing """
from odoo.tests.common import TransactionCase
from odoo.models import ValidationError
class GolemSeasonTestCase(TransactionCase):
class TestGolemSeason(TransactionCase):
""" GOLEM season testing """
def setUp(self):
super(GolemSeasonTestCase, self).setUp()
def setUp(self, *args, **kwargs):
""" Bootstrap res partner sale sector """
super(TestGolemSeason, self).setUp(*args, **kwargs)
self.season_model = self.env['golem.season'].sudo()
def test_season_default(self):