def test_dynamic_description(executed_docstring_path): assert_that( executed_docstring_path.allure_report, has_test_case("test_dynamic_description", has_description(contains_string("Actual description"))))
def test_description(executed_docstring_path): assert_that(executed_docstring_path.allure_report, has_test_case("test_description", has_description(contains_string("Test description")) ) )
def test_case_with_dynamyc_description(self): assert_that( self.allure_report, has_test_case('Case With Dynamic Description', has_description('End description')))
def test_unicode_docstring_description(executed_docstring_path): assert_that(executed_docstring_path.allure_report, has_test_case("test_unicode_docstring_description", has_description(contains_string("Докстринг в юникоде")) ) )
def test_case_with_description(self): assert_that( self.allure_report, has_test_case('Case With Description', has_description('Case description')))