Structure de test event

This commit is contained in:
michel 2017-12-04 14:52:48 +01:00
parent 007af79930
commit 34efb13093
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import test_coworking_event

View File

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
""" Coworking cowoker testing module """
from datetime import date
from odoo import fields
from odoo.exceptions import ValidationError
from odoo.tests.common import TransactionCase
class TestCoworkingEvent(TransactionCase):
""" Coworking cowoker testing """
def setUp(self, *args, **kwargs):
""" Bootstrap testing """
super(TestCoworkingCoworker, self).setUp(*args, **kwargs)
data = {'name': 'Homer Simpson', 'is_coworker': True}
self.homer = self.env['res.partner'].create(data)
def test_contact_date(self):