summaryrefslogtreecommitdiff
path: root/addons/website_event/tests
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-09-24 10:46:30 +0200
committerThibault Delavallée <tde@openerp.com>2013-09-24 10:46:30 +0200
commit5bcd05aaba33d75e33c449863bc6ccff214ebe44 (patch)
tree4f79640b03a43d192522b018182b3a83b9df55cc /addons/website_event/tests
parent2c9f267d3146050a1eaebcbc3ee2093d1490d8b3 (diff)
[ADD] website_event: added skeleton directories for doc and tests
bzr revid: tde@openerp.com-20130924084630-p1lw7b9lj2ijqti3
Diffstat (limited to 'addons/website_event/tests')
-rw-r--r--addons/website_event/tests/__init__.py28
-rw-r--r--addons/website_event/tests/test_controllers.py29
2 files changed, 57 insertions, 0 deletions
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