summaryrefslogtreecommitdiff
path: root/odoo/addons/test_documentation_examples/tests/test_delegation.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2017-06-16 13:50:11 +0200
committerMartin Trigaux <mat@odoo.com>2017-06-16 15:14:27 +0200
commitc060e90d81a9355c0ed4ce701de8fe2a8c0d5e05 (patch)
tree0f17d94ff38fe48fe53b86bf15a3189d1a3e7f60 /odoo/addons/test_documentation_examples/tests/test_delegation.py
parent191ad830cac47082a51f9f9f20b805311eb89360 (diff)
[FIX] doc: correctly link doc and test lines
The test is surprisingly formated but it is to be able to extract the relevant lines in the documentation
Diffstat (limited to 'odoo/addons/test_documentation_examples/tests/test_delegation.py')
-rw-r--r--odoo/addons/test_documentation_examples/tests/test_delegation.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/odoo/addons/test_documentation_examples/tests/test_delegation.py b/odoo/addons/test_documentation_examples/tests/test_delegation.py
index 90279f24208..327485e63ea 100644
--- a/odoo/addons/test_documentation_examples/tests/test_delegation.py
+++ b/odoo/addons/test_documentation_examples/tests/test_delegation.py
@@ -19,8 +19,16 @@ class TestDelegation(common.TransactionCase):
record = self.record
# children fields can be looked up on the parent record directly
- self.assertEqual(record.field_0, 0)
- self.assertEqual(record.field_1, 1)
+ self.assertEqual(
+ record.field_0
+ ,
+ 0
+ )
+ self.assertEqual(
+ record.field_1
+ ,
+ 1
+ )
def test_swap_child(self):
env = self.env