comparison requirements.txt @ 7752:3929ff3f21c6

tests: introduce doctest_mock_ugettext to allow doctests of localized code Future doctests will require some extra mocking, as the code-under-test uses translation (ugettext aka '_') and its provider TurboGears2 needs a context. Avoid this complexity by mocking ugettext as the identity function. This is done by providing a pytest fixture 'doctest_mock_ugettext' that will mock uggettext in the module that uses the fixture.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Tue, 11 Jun 2019 20:53:33 +0200
parents 941548131765
children
comparison
equal deleted inserted replaced
7751:d4bcbe1b06f4 7752:3929ff3f21c6