Coworking/coworking_event/tests/test_coworking_event.py

21 lines
587 B
Python
Raw Normal View History

2017-12-04 14:52:48 +01:00
# -*- 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):