Skip to content

Commit e89b8a1

Browse files
committed
[FIX] developer: wrong import path for Form module in tests
Since odoo/odoo@f5e7c67, Form is in odoo.tests and not in odoo.tests.common anymore task-none closes #14199 X-original-commit: 08f66ab Signed-off-by: Antoine Vandevenne (anv) <[email protected]> Signed-off-by: Thomas Becquevort (thbe) <[email protected]>
1 parent 5357098 commit e89b8a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/developer/tutorials/unit_tests.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Here are a few things to take into consideration before writing a test
213213

214214
.. note:: Remember that ``onchange`` only applies in the Form views, not by changing the attributes
215215
in python. This also applies in the tests. If you want to emulate a Form view, you can use
216-
``odoo.tests.common.Form``.
216+
``odoo.tests.Form``.
217217

218218
The tests should be in a ``tests`` folder at the root of your module. Each test file name
219219
should start with `test_` and be imported in the ``__init__.py`` of the test folder. You shouldn't

0 commit comments

Comments
 (0)