diff options
| author | Leonardo Rochael Almeida <leorochael@gmail.com> | 2015-06-03 06:15:44 +0200 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-09-28 10:37:27 +0200 |
| commit | 06b3026bcdf483aff12f1daa8b6d26d9801ace61 (patch) | |
| tree | a298220f2521d1f48bec73c52347d90fb7737a2e /doc/reference | |
| parent | 864ac67905134e98ad598599a5370d2b86327efe (diff) | |
[IMP] unittest2 > unittest
The `unittest2` package is simply a backport of `unittest` from the
Standard Library of Python 2.7 to previous versions.
There is no reason to use it any longer.
Closes #6941
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 |
