userver: testsuite.plugins.common.LoadBinaryFixture Class Reference
Loading...
Searching...
No Matches
testsuite.plugins.common.LoadBinaryFixture Class Reference

Detailed Description

Load binary data from static directory.

Example:

.. code-block:: python

def test_something(load_binary):
    bytes_data = load_binary('data.bin')

Definition at line 116 of file common.py.

Inheritance diagram for testsuite.plugins.common.LoadBinaryFixture:

Public Member Functions

bytes __call__ (self, types.PathOrStr filename)

Member Function Documentation

◆ __call__()

bytes testsuite.plugins.common.LoadBinaryFixture.__call__ ( self,
types.PathOrStr filename )

Definition at line 127 of file common.py.


The documentation for this class was generated from the following file: