How to use the allure-python-commons-test.src.container.HasSameContainer 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_same_container('first_test_case', 'second_test_case')
    ... )

    >>> assert_that(Report,
    ...             has_same_container('second_test_case', 'third_test_case')
    ... ) # doctest: +ELLIPSIS
    Traceback (most recent call last):
       ...
    AssertionError: ...
    Expected: ...
         but: ...
    
    """
    return HasSameContainer(*args)

allure-python-commons-test

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

Apache-2.0
Latest version published 8 months ago

Package Health Score

74 / 100
Full package analysis

Similar packages