def test_scenario_matches_tags_fuzzywuzzy():
 scenario = Scenario.from_string(SCENARIO1, original_string=SCENARIO1.strip(), tags=['anothertag', 'another-tag'])
 assert scenario.matches_tags(['~another'])

def test_scenario_matches_tags_fuzzywuzzy ( ) : scenario = Scenario . from_string ( SCENARIO1 , original_string = SCENARIO1 . strip ( ) , tags = [ 'anothertag' , 'another-tag' ] ) assert scenario . matches_tags ( [ '~another' ] )
when scenario#matches_tags is called with a member starting with ~ it will consider a fuzzywuzzy match .