diff --git a/coworking_event/tests/__init__.py b/coworking_event/tests/__init__.py new file mode 100644 index 0000000..ddce860 --- /dev/null +++ b/coworking_event/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_coworking_event diff --git a/coworking_event/tests/test_coworking_event.py b/coworking_event/tests/test_coworking_event.py new file mode 100644 index 0000000..2018387 --- /dev/null +++ b/coworking_event/tests/test_coworking_event.py @@ -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): +