Load file from static directory.
Example:
.. code-block:: python
def test_something(load):
data = load('filename')
:return: :py:class:LoadFixture callable instance.
Public Member Functions | |
| bytes|str|None | __call__ (self, types.PathOrStr filename, encoding='utf-8', errors=None, *, missing_ok=False) |
| bytes | str | None testsuite.plugins.common.LoadFixture.__call__ | ( | self, | |
| types.PathOrStr | filename, | ||
| encoding = 'utf-8', | |||
| errors = None, | |||
| * | , | ||
| missing_ok = False ) |