markers.stream_excluder module

ignore_stream(*streams): Marker for uncollecting the tests based on appliance stream.

Streams are the first two fields from version of the appliance (5.0, 5.1, ...), the nightly upstream is represented as upstream. If you want to ensure, that the test shall not be collected because it is not supposed to run on 5.0 and 5.1 streams, just put those streams in the parameters and that is enough.

It also provides a facility to check the appliance’s version/stream for smoke testing.

markers.stream_excluder.pytest_collection_modifyitems(session, config, items)[source]