コード例 #1
0
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"))))
コード例 #2
0
def test_description(executed_docstring_path):
    assert_that(executed_docstring_path.allure_report,
                has_test_case("test_description",
                              has_description(contains_string("Test description"))
                              )
                )
コード例 #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')))
コード例 #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("Докстринг в юникоде"))
                              )
                )
コード例 #5
0
 def test_case_with_description(self):
     assert_that(
         self.allure_report,
         has_test_case('Case With Description',
                       has_description('Case description')))