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:
parent
5a3547dd7e
commit
fa9bd8443f
|
@ -50,3 +50,9 @@ then you can just invoke ``py.test`` without command line options::
|
||||||
mymodule.py .
|
mymodule.py .
|
||||||
|
|
||||||
========================= 1 passed in 0.02 seconds =========================
|
========================= 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')
|
||||||
|
>>> ...
|
||||||
|
|
|
@ -72,3 +72,12 @@ Python モジュール (通常 python テストモジュールを含む) の doc
|
||||||
mymodule.py .
|
mymodule.py .
|
||||||
|
|
||||||
========================= 1 passed in 0.02 seconds =========================
|
========================= 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')
|
||||||
|
>>> ...
|
||||||
|
|
Loading…
Reference in New Issue