summaryrefslogtreecommitdiff
path: root/odoo/addons/test_documentation_examples/tests/test_inheritance.py
diff options
context:
space:
mode:
authorVictor Feyens <vfe@odoo.com>2021-04-29 15:23:09 +0000
committerAntoine Vandevenne (anv) <anv@odoo.com>2021-05-04 08:09:47 +0000
commit565f6f7d6ffee5b2808eaa4d52abe5f48150747d (patch)
treeb1bf31d71085a83f4ea933f4ce02f8728acef41d /odoo/addons/test_documentation_examples/tests/test_inheritance.py
parent27bad8c3e32049ec69a588df0558e57a0b928309 (diff)
[REM] core: remove `test_documentation_examples` module
The only purpose of the module `test_documentation_examples` is to test a few of the code examples shown in the developer documentation. As de86b3fb79e removes the documentation sources from the repository, the test module is removed as well. DOC PR: https://github.com/odoo/documentation-user/pull/945 task-2352371 closes odoo/odoo#70178 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com> Co-authored-by: Victor Feyens <vfe@odoo.com> Co-authored-by: Antoine Vandevenne <anv@odoo.com>
Diffstat (limited to 'odoo/addons/test_documentation_examples/tests/test_inheritance.py')
-rw-r--r--odoo/addons/test_documentation_examples/tests/test_inheritance.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/odoo/addons/test_documentation_examples/tests/test_inheritance.py b/odoo/addons/test_documentation_examples/tests/test_inheritance.py
deleted file mode 100644
index 38a1ae5747b..00000000000
--- a/odoo/addons/test_documentation_examples/tests/test_inheritance.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# -*- coding: utf-8 -*-
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
-
-from odoo.tests import common
-
-class TestBasicInheritance(common.TransactionCase):
- def test_inherit_method(self):
- env = self.env
-
- a = env['inheritance.0'].create({'name': 'A'})
- b = env['inheritance.1'].create({'name': 'B'})
-
- self.assertEqual(
- a.call()
- ,
- "This is model 0 record A"
- )
- self.assertEqual(
- b.call()
- ,
- "This is model 1 record B"
- )