From 35441cfd62cc1aa7ad5507d5dc8c69218c36bc82 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Thu, 20 Oct 2016 09:10:58 +0200 Subject: [PATCH] [IMP] doc: add test classes documentation Closes #13902 --- doc/reference/testing.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/reference/testing.rst b/doc/reference/testing.rst index 9523d732e0f..794b6e45b18 100644 --- a/doc/reference/testing.rst +++ b/doc/reference/testing.rst @@ -48,6 +48,11 @@ related to testing Odoo content (modules, mainly): .. autoclass:: openerp.tests.common.SingleTransactionCase :members: browse_ref, ref +.. autoclass:: openerp.tests.common.SavepointCase + +.. autoclass:: openerp.tests.common.HttpCase + :members: browse_ref, ref, url_open, phantom_js + By default, tests are run once right after the corresponding module has been installed. Test cases can also be configured to run after all modules have been installed, and not run right after the module installation: