summaryrefslogtreecommitdiff
path: root/addons/website_mail
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2013-09-23 12:46:12 +0200
committerThibault Delavallée <tde@openerp.com>2013-09-23 12:46:12 +0200
commitbef092ba195e72c2ffdc8d791e2a7ee491e23b6b (patch)
treedf279773b2c54efd28d275cc47948400104d9550 /addons/website_mail
parent4d59eb9aebd2b0310d314a7a272717b1e1e0350b (diff)
[ADD] website_mail: added skeleton for tests and doc
bzr revid: tde@openerp.com-20130923104612-b1x1nk1izygvl9oi
Diffstat (limited to 'addons/website_mail')
-rw-r--r--addons/website_mail/doc/changelog.rst9
-rw-r--r--addons/website_mail/doc/index.rst10
-rw-r--r--addons/website_mail/tests/__init__.py28
-rw-r--r--addons/website_mail/tests/test_controllers.py29
4 files changed, 76 insertions, 0 deletions
diff --git a/addons/website_mail/doc/changelog.rst b/addons/website_mail/doc/changelog.rst
new file mode 100644
index 00000000000..fe2b38bad01
--- /dev/null
+++ b/addons/website_mail/doc/changelog.rst
@@ -0,0 +1,9 @@
+.. _changelog:
+
+Changelog
+=========
+
+`trunk (saas-3)`
+----------------
+
+ - created ``website_mail`` menu, holding website-related stuff about mail module
diff --git a/addons/website_mail/doc/index.rst b/addons/website_mail/doc/index.rst
new file mode 100644
index 00000000000..5b0999d8a6c
--- /dev/null
+++ b/addons/website_mail/doc/index.rst
@@ -0,0 +1,10 @@
+Website Mail Module documentation topics
+''''''''''''''''''''''''''''''''''''''''
+
+Changelog
+'''''''''
+
+.. toctree::
+ :maxdepth: 1
+
+ changelog.rst
diff --git a/addons/website_mail/tests/__init__.py b/addons/website_mail/tests/__init__.py
new file mode 100644
index 00000000000..97f1da2f54b
--- /dev/null
+++ b/addons/website_mail/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_mail/tests/test_controllers.py b/addons/website_mail/tests/test_controllers.py
new file mode 100644
index 00000000000..60ffa5ac9a3
--- /dev/null
+++ b/addons/website_mail/tests/test_controllers.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Business Applications
+# Copyright (c) 2013-TODAY 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.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