summaryrefslogtreecommitdiff
path: root/addons/idea/tests
diff options
context:
space:
mode:
Diffstat (limited to 'addons/idea/tests')
-rw-r--r--addons/idea/tests/__init__.py28
-rw-r--r--addons/idea/tests/test_idea.py39
2 files changed, 67 insertions, 0 deletions
diff --git a/addons/idea/tests/__init__.py b/addons/idea/tests/__init__.py
new file mode 100644
index 00000000000..a53567a380b
--- /dev/null
+++ b/addons/idea/tests/__init__.py
@@ -0,0 +1,28 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Business Applications
+# Copyright (c) 2013-TODAY OpenERP S.A. <http://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.idea.tests import test_idea
+
+checks = [
+ test_idea,
+]
+
+# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
diff --git a/addons/idea/tests/test_idea.py b/addons/idea/tests/test_idea.py
new file mode 100644
index 00000000000..4ca9bb9dcb9
--- /dev/null
+++ b/addons/idea/tests/test_idea.py
@@ -0,0 +1,39 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# OpenERP, Open Source Business Applications
+# Copyright (c) 2013-TODAY OpenERP S.A. <http://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.tests import common
+
+
+class TestIdeaBase(common.TransactionCase):
+
+ def setUp(self):
+ super(TestIdeaBase, self).setUp()
+ cr, uid = self.cr, self.uid
+
+ # Usefull models
+ self.idea_category = self.registry('idea.category')
+ self.idea_idea = self.registry('idea.idea')
+
+ def tearDown(self):
+ super(TestIdeaBase, self).tearDown()
+
+ def test_OO(self):
+ pass