Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_set_small_word_list():
assert titlecase('playing the game "words with friends"') == 'Playing the Game "Words With Friends"'
set_small_word_list('a|an|the|with')
assert titlecase('playing the game "words with friends"') == 'Playing the Game "Words with Friends"'