Load json doc from static directory.
Json loader runs json_util.loads(data, ..., *args, **kwargs) hooks. It does:
Example:
.. code-block:: python
def test_something(load_json):
json_obj = load_json('filename.json')
Public Member Functions | |
| typing.Any | __call__ (self, types.PathOrStr filename, *args, missing_ok=False, missing=None, **kwargs) |
| typing.Any testsuite.plugins.common.LoadJsonFixture.__call__ | ( | self, | |
| types.PathOrStr | filename, | ||
| * | args, | ||
| missing_ok = False, | |||
| missing = None, | |||
| ** | kwargs ) |