#NEWLINE# @ pytest . mark . parametrize ( 'test' , [ 'def test_foo(not_a_funcarg)' , '@pytest.mark.xfail()\n    def test_xfail()' , '@pytest.mark.skipif(1, reason="foo")\n    def test_skip()' ] ) #NEWLINE# def test_smoke_decorated_success( report_for , test ) : #NEWLINE# #INDENT# report = report_for ( ( '\n    import pytest\n    %s:\n        assert 0\n    ' % test ) ) #NEWLINE# assert_that ( report . findall ( './/test-case' ) , contains ( has_property ( 'name' ) ) )