diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-09-24 10:46:30 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-09-24 10:46:30 +0200 |
| commit | 5bcd05aaba33d75e33c449863bc6ccff214ebe44 (patch) | |
| tree | 4f79640b03a43d192522b018182b3a83b9df55cc /addons | |
| parent | 2c9f267d3146050a1eaebcbc3ee2093d1490d8b3 (diff) | |
[ADD] website_event: added skeleton directories for doc and tests
bzr revid: tde@openerp.com-20130924084630-p1lw7b9lj2ijqti3
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_event/__openerp__.py | 25 | ||||
| -rw-r--r-- | addons/website_event/doc/changelog.rst | 9 | ||||
| -rw-r--r-- | addons/website_event/doc/index.rst | 10 | ||||
| -rw-r--r-- | addons/website_event/tests/__init__.py | 28 | ||||
| -rw-r--r-- | addons/website_event/tests/test_controllers.py | 29 |
5 files changed, 99 insertions, 2 deletions
diff --git a/addons/website_event/__openerp__.py b/addons/website_event/__openerp__.py index 9a697d6f7c4..e13c8889a6c 100644 --- a/addons/website_event/__openerp__.py +++ b/addons/website_event/__openerp__.py @@ -1,11 +1,32 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2013-Today OpenERP SA (<http://www.openerp.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 +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# 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/>. +# +############################################################################## + { 'name': 'Online Events', 'category': 'Website', 'summary': 'Schedule, Promote and Sell Events', 'version': '1.0', 'description': """ -OpenERP Blog -============ +Online Events +============= """, 'author': 'OpenERP SA', diff --git a/addons/website_event/doc/changelog.rst b/addons/website_event/doc/changelog.rst new file mode 100644 index 00000000000..ac212494c7e --- /dev/null +++ b/addons/website_event/doc/changelog.rst @@ -0,0 +1,9 @@ +.. _changelog: + +Changelog +========= + +`trunk (saas-3)` +---------------- + + - created ``website_event`` diff --git a/addons/website_event/doc/index.rst b/addons/website_event/doc/index.rst new file mode 100644 index 00000000000..3edce4cc8f1 --- /dev/null +++ b/addons/website_event/doc/index.rst @@ -0,0 +1,10 @@ +Website Event Module documentation topics +''''''''''''''''''''''''''''''''''''''''' + +Changelog +''''''''' + +.. toctree:: + :maxdepth: 1 + + changelog.rst diff --git a/addons/website_event/tests/__init__.py b/addons/website_event/tests/__init__.py new file mode 100644 index 00000000000..97f1da2f54b --- /dev/null +++ b/addons/website_event/tests/__init__.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Business Applications +# Copyright (c) 20123TODAY OpenERP S.A. <http://www.openerp.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 +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# 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.addons.website_blog.tests import test_controllers + +checks = [ + test_controllers, +] + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/website_event/tests/test_controllers.py b/addons/website_event/tests/test_controllers.py new file mode 100644 index 00000000000..d1c28cab5af --- /dev/null +++ b/addons/website_event/tests/test_controllers.py @@ -0,0 +1,29 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2013-Today OpenERP SA (<http://www.openerp.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 +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# 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.addons.mail.tests.test_mail_base import TestMailBase +from openerp.tools import mute_logger, email_split + + +class TestControllers(TestMailBase): + + def test_00(self): + cr, uid = self.cr, self.uid |
