update the documentation regarding the `get_fixture` helper

please note that the japanese translation was done using "google translate" and should probably be checked again... :)

--HG--
branch : doctest-fixtures
This commit is contained in:
Andreas Zeidler 2013-03-20 17:54:38 +01:00
parent 5a3547dd7e
commit fa9bd8443f
2 changed files with 15 additions and 0 deletions

View File

@ -50,3 +50,9 @@ then you can just invoke ``py.test`` without command line options::
mymodule.py .
========================= 1 passed in 0.02 seconds =========================
It is possible to use fixtures using the ``get_fixture`` helper::
# content of example.rst
>>> tmp = get_fixture('tmpdir')
>>> ...

View File

@ -72,3 +72,12 @@ Python モジュール (通常 python テストモジュールを含む) の doc
mymodule.py .
========================= 1 passed in 0.02 seconds =========================
..
It is possible to use fixtures using the ``get_fixture`` helper::
それは ``get_fixture`` ヘルパーを使ってフィクスチャを使用することが可能である::
# content of example.rst
>>> tmp = get_fixture('tmpdir')
>>> ...