[ADD] website_mail: added skeleton for tests and doc
authorThibault Delavallée <tde@openerp.com>
Mon, 23 Sep 2013 10:46:12 +0000 (12:46 +0200)
committerThibault Delavallée <tde@openerp.com>
Mon, 23 Sep 2013 10:46:12 +0000 (12:46 +0200)
bzr revid: tde@openerp.com-20130923104612-b1x1nk1izygvl9oi

addons/website_mail/doc/changelog.rst [new file with mode: 0644]
addons/website_mail/doc/index.rst [new file with mode: 0644]
addons/website_mail/tests/__init__.py [new file with mode: 0644]
addons/website_mail/tests/test_controllers.py [new file with mode: 0644]

diff --git a/addons/website_mail/doc/changelog.rst b/addons/website_mail/doc/changelog.rst
new file mode 100644 (file)
index 0000000..fe2b38b
--- /dev/null
@@ -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 (file)
index 0000000..5b0999d
--- /dev/null
@@ -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 (file)
index 0000000..97f1da2
--- /dev/null
@@ -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 (file)
index 0000000..60ffa5a
--- /dev/null
@@ -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