How to use the allure-python-commons-test.src.container.HasContainer function in allure-python-commons-test

To help you get started, we’ve selected a few allure-python-commons-test examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github allure-framework / allure-python / allure-python-commons-test / src / container.py View on Github external
>>> assert_that(Report,
    ...             has_test_case('test_case_without_container',
    ...                           has_container(Report,
    ...                                        has_before('before_fixture')
    ...                           )
    ...             )
    ... ) # doctest: +ELLIPSIS
    Traceback (most recent call last):
       ...
    AssertionError: ...
    Expected: ...
         but: ...
    
    """
    return HasContainer(report, *matchers)

allure-python-commons-test

A collection of PyHamcrest matchers to test Allure adapters for Python test frameworks

Apache-2.0
Latest version published 1 month ago

Package Health Score

84 / 100
Full package analysis

Similar packages