def test_not_decorated_sub_class_decorated_method(executed_docstring_path): assert_that(executed_docstring_path.allure_report, has_test_case("TestNotDecoratedSubClass#test_decorated_method", all_of(has_severity("critical"), is_not(has_severity("trivial")) ) ) )
def test_severity(executed_docstring_path): """ ./examples/label/severity/severity.rst """ assert_that(executed_docstring_path.allure_report, has_test_case( "test_severity", has_severity("minor"), ))
def test_not_decorated_function(executed_docstring_path): assert_that( executed_docstring_path.allure_report, has_test_case("test_not_decorated_function", has_severity("trivial")))
def test_method_of_decorated_class(executed_docstring_path): assert_that( executed_docstring_path.allure_report, has_test_case("test_method_of_decorated_class", has_severity("normal")))
def test_decorated_class_not_decorated_method(executed_docstring_path): assert_that(executed_docstring_path.allure_report, has_test_case("TestDecoratedClass#test_not_decorated_method", has_severity("trivial") ) )
def test_decorated_class_not_decorated_method(executed_docstring_path): assert_that( executed_docstring_path.allure_report, has_test_case("TestDecoratedClass#test_not_decorated_method", has_severity("trivial")))
def test_not_decorated_sub_class_decorated_method(executed_docstring_path): assert_that( executed_docstring_path.allure_report, has_test_case( "TestNotDecoratedSubClass#test_decorated_method", all_of(has_severity("critical"), is_not(has_severity("trivial")))))