Warning
THIS MODULE DOES NOT HAVE STABLE PUBLIC API
Bases: plainbox.abc.ISessionStateTransport
Base class for transports that send test data somewhere.
They handle just the transmission portion of data sending; exporters are expected to produce data in the proper format (e.g. json, xml).
Each transport can have specific parameters that are required for the other end to properly process received information (like system identification, authorization data and so on), and that don’t semantically belong in the test data as produced by the exporter. Additionally each transport needs to be told where to send test data. This is transport-dependent; things like a HTTP endpoint, IP address, port are good examples.
Send data somewhere.
Parameters: |
|
---|---|
Raises: |
|
Returns: | a dictionary with additional items, see notes below |
Note
The return value is especially vague specifically to allow various transports to express whatever they may need to express for a particular vertical use case yet still to allow most of the code to just work with all transports.
It is expected that certain keys in the returned dictionary will gain special semantics that can be further standardized. As of this writing there are no standard keys.
plainbox.impl.testing_utils – plainbox specific test tools
plainbox.impl.unit – package with all of the units
Enter search terms or a module, class or function name.