def test_scenario_matches_tags():
 scenario = Scenario.from_string(SCENARIO1, original_string=SCENARIO1.strip(), tags=['onetag', 'another-one'])
 expect(scenario.tags).to.equal(['onetag', 'another-one'])
 assert scenario.matches_tags(['onetag'])
 assert scenario.matches_tags(['another-one'])

def test_scenario_matches_tags ( ) : scenario = Scenario . from_string ( SCENARIO1 , original_string = SCENARIO1 . strip ( ) , tags = [ 'onetag' , 'another-one' ] ) expect ( scenario . tags ) . to . equal ( [ 'onetag' , 'another-one' ] ) assert scenario . matches_tags ( [ 'onetag' ] ) assert scenario . matches_tags ( [ 'another-one' ] )
a scenario with tags should respond with true when .