event_booth/tests/common.py

21 lines
624 B
Python
Raw Permalink Normal View History

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.addons.event.tests.common import EventCase
class TestEventBoothCommon(EventCase):
@classmethod
def setUpClass(cls):
super(TestEventBoothCommon, cls).setUpClass()
cls.event_booth_category_1 = cls.env['event.booth.category'].create({
'name': 'Standard',
'description': '<p>Standard</p>',
})
cls.event_booth_category_2 = cls.env['event.booth.category'].create({
'name': 'Premium',
'description': '<p>Premium</p>',
})