def test_scenario_matches_tags_excluding_when_scenario_has_no_tags():
 scenario = Scenario.from_string(SCENARIO1, original_string=SCENARIO1.strip())
 assert scenario.matches_tags(['-nope', '-neither'])

def test_scenario_matches_tags_excluding_when_scenario_has_no_tags ( ) : scenario = Scenario . from_string ( SCENARIO1 , original_string = SCENARIO1 . strip ( ) ) assert scenario . matches_tags ( [ '-nope' , '-neither' ] )
when scenario#matches_tags is called for a scenario that has no tags and the given match is a exclusionary tag .