@with_setup(state.setup, state.teardown)
def test_subunit_output_undefined_steps():
 state.expect = [Includes({'status': 'fail', 'details': Includes({'steps': ContentContains('? When this test step is undefined\n')})}), Includes({'status': 'fail', 'details': Includes({'steps': ContentContains('? When this test step is undefined\n')})})]
 runner = Runner(feature_name('undefined_steps'), enable_subunit=True)
 runner.run()

@ with_setup ( state . setup , state . teardown ) def test_subunit_output_undefined_steps ( ) : state . expect = [ Includes ( { 'status' : 'fail' , 'details' : Includes ( { 'steps' : ContentContains ( '? When this test step is undefined\n' ) } ) } ) , Includes ( { 'status' : 'fail' , 'details' : Includes ( { 'steps' : ContentContains ( '? When this test step is undefined\n' ) } ) } ) ] runner = Runner ( feature_name ( 'undefined_steps' ) , enable_subunit = True ) runner . run ( )
test subunit output with undefined steps .