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"))
                              )
                )
Esempio n. 3
0
 def test_case_with_dynamyc_description(self):
     assert_that(
         self.allure_report,
         has_test_case('Case With Dynamic Description',
                       has_description('End description')))
Esempio n. 4
0
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("Докстринг в юникоде"))
                              )
                )
Esempio n. 5
0
 def test_case_with_description(self):
     assert_that(
         self.allure_report,
         has_test_case('Case With Description',
                       has_description('Case description')))