def test_scenario_matches_tags_excluding_fuzzywuzzy():
 scenario = Scenario.from_string(SCENARIO1, original_string=('@anothertag\n@another-tag\n' + SCENARIO1.strip()))
 assert (not scenario.matches_tags(['-~anothertag']))

def test_scenario_matches_tags_excluding_fuzzywuzzy ( ) : scenario = Scenario . from_string ( SCENARIO1 , original_string = ( '@anothertag\n@another-tag\n' + SCENARIO1 . strip ( ) ) ) assert ( not scenario . matches_tags ( [ '-~anothertag' ] ) )
when scenario#matches_tags is called with a member starting with -~ it will exclude that tag from that fuzzywuzzy match .