def test_scenario_with_hash_within_single_quotes():
 scenario = Scenario.from_string(INLINE_COMMENTS_IGNORED_WITHIN_SINGLE_QUOTES)
 (step1, step2) = scenario.steps
 expect(step1.sentence).to.equal(u'Given I am logged in on twitter')
 expect(step2.sentence).to.equal(u"When I search for the hashtag '#hammer'")

def test_scenario_with_hash_within_single_quotes ( ) : scenario = Scenario . from_string ( INLINE_COMMENTS_IGNORED_WITHIN_SINGLE_QUOTES ) ( step1 , step2 ) = scenario . steps expect ( step1 . sentence ) . to . equal ( u'Given I am logged in on twitter' ) expect ( step2 . sentence ) . to . equal ( u"When I search for the hashtag '#hammer'" )
scenarios have hashes within single quotes and yet dont consider them as comments .