def test_scenario_with_inline_comments():
 scenario = Scenario.from_string(INLINE_COMMENTS)
 (step1, step2) = scenario.steps
 expect(step1.sentence).to.equal(u'Given I am using an anvil')
 expect(step2.sentence).to.equal(u'And I am using a hammer')

def test_scenario_with_inline_comments ( ) : scenario = Scenario . from_string ( INLINE_COMMENTS ) ( step1 , step2 ) = scenario . steps expect ( step1 . sentence ) . to . equal ( u'Given I am using an anvil' ) expect ( step2 . sentence ) . to . equal ( u'And I am using a hammer' )
scenarios can have steps with inline comments .