Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
>>> 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)