From 56e95e7df465db415afa1cec678d16bc5fbc20cc Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Wed, 8 Jul 2015 11:09:11 +0200 Subject: [PATCH] Add docs to test modules. --- partner_firstname/tests/test_name.py | 6 ++++++ partner_firstname/tests/test_onchange.py | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/partner_firstname/tests/test_name.py b/partner_firstname/tests/test_name.py index 73190caf8..edb7d836b 100644 --- a/partner_firstname/tests/test_name.py +++ b/partner_firstname/tests/test_name.py @@ -25,6 +25,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +"""Test naming logic. + +Please have in mind that some tests will fail if the ``mail`` module is +installed. +""" + from .base import BaseCase diff --git a/partner_firstname/tests/test_onchange.py b/partner_firstname/tests/test_onchange.py index f89e23998..209a97d56 100644 --- a/partner_firstname/tests/test_onchange.py +++ b/partner_firstname/tests/test_onchange.py @@ -1,4 +1,9 @@ # -*- coding: utf-8 -*- +"""These tests try to mimic the behavior of the UI form. + +The form operates in onchange mode, and has only some limitations that must be +met. +""" from openerp.tests.common import TransactionCase