Mercurial > kallithea
view docs/index.rst @ 6341:6a9f82696750
tests: introduce test_context to handle internationalization
As preparation to the migration to Turbogears2, introduce a test_context
context manager to wrap certain tests. The context manager provides a
translator for tests that need it. This translator was previously provided
globally to all tests via the TestController.
When swapping Pylons with Turbogears2, the new file
kallithea/tests/test_context.py can be removed, and the test_context from
tg2/tg/util/webtest.py should be used.
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Sun, 20 Nov 2016 20:51:40 +0100 |
parents | 9c6f717823e1 |
children | e71216a16853 |
line wrap: on
line source
.. _index: ####################### Kallithea Documentation ####################### **Readme** .. toctree:: :maxdepth: 1 readme **Installation** .. toctree:: :maxdepth: 1 overview installation installation_win installation_win_old installation_iis setup installation_puppet upgrade **Usage** .. toctree:: :maxdepth: 1 usage/general usage/vcs_support usage/locking usage/statistics **Administrator's guide** .. toctree:: :maxdepth: 1 usage/email usage/performance usage/backup usage/debugging usage/troubleshooting usage/customization **Development** .. toctree:: :maxdepth: 1 contributing dev/translation dev/dbmigrations **API** .. toctree:: :maxdepth: 1 api/api Other topics ************ * :ref:`genindex` * :ref:`search` .. _virtualenv: http://pypi.python.org/pypi/virtualenv .. _python: http://www.python.org/ .. _django: http://www.djangoproject.com/ .. _mercurial: https://www.mercurial-scm.org/ .. _bitbucket: http://bitbucket.org/ .. _subversion: http://subversion.tigris.org/ .. _git: http://git-scm.com/ .. _celery: http://celeryproject.org/ .. _Sphinx: http://sphinx.pocoo.org/ .. _vcs: http://pypi.python.org/pypi/vcs