diff options
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/javascript.rst | 7 | ||||
| -rw-r--r-- | doc/reference/testing.rst | 3 |
2 files changed, 1 insertions, 9 deletions
diff --git a/doc/reference/javascript.rst b/doc/reference/javascript.rst index 609fe58d3d9..d7dd2f70b70 100644 --- a/doc/reference/javascript.rst +++ b/doc/reference/javascript.rst @@ -1330,11 +1330,6 @@ command-line (or in a CI system), but while actually running it is pretty simple the setup of the pre-requisite parts has some complexities. -#. Install unittest2_ in your Python environment. Both - can trivially be installed via `pip <http://pip-installer.org>`_ or - `easy_install - <http://packages.python.org/distribute/easy_install.html>`_. - #. Install PhantomJS_. It is a headless browser which allows automating running and testing web pages. QUnitSuite_ uses it to actually run the qunit_ test suite. @@ -1402,8 +1397,6 @@ the OpenERP Web test suite. .. _qunit assertions: http://api.qunitjs.com/category/assert/ -.. _unittest2: http://pypi.python.org/pypi/unittest2 - .. _QUnitSuite: http://pypi.python.org/pypi/QUnitSuite/ .. _PhantomJS: http://phantomjs.org/ diff --git a/doc/reference/testing.rst b/doc/reference/testing.rst index 9523d732e0f..53690426103 100644 --- a/doc/reference/testing.rst +++ b/doc/reference/testing.rst @@ -7,7 +7,7 @@ Testing Modules =============== -Odoo provides support for testing modules using unittest2_. +Odoo provides support for testing modules using unittest. To write tests, simply define a ``tests`` sub-package in your module, it will be automatically inspected for test modules. Test modules should have a name @@ -80,5 +80,4 @@ Odoo server. As of Odoo 8, running tests outside of the install/update cycle is not supported. -.. _unittest2: http://pypi.python.org/pypi/unittest2 .. _unittest documentation: https://docs.python.org/2/library/unittest.html |
