#NEWLINE# @ pytest . mark . parametrize ( 'statement' , [ 'assert 1' , 'assert 0' , 'pytest.xfail()' , 'pytest.skip()' , 'foo(' ] ) #NEWLINE# def test_smoke_simple( report_for , statement ) : #NEWLINE# #INDENT# report = report_for ( ( '\n    import pytest\n    def test():\n        %s\n    ' % report ) ) #NEWLINE# assert_that ( report . findall ( './/test-case' ) , contains ( has_property ( 'name' ) ) )