#NEWLINE# def test_validate_with_duplicate_aliases( self , template_service ) : #NEWLINE# #INDENT# templates = [ Template ( key = 'abc' , name = 'The ABC Meme' , aliases = [ '123' , 'the-meme' ] ) , Template ( key = 'def' , name = 'The DEF Meme' , aliases = [ 'the-meme' ] ) ] #NEWLINE# template_service . template_store . filter . return_value = templates #NEWLINE# assert ( False is template_service . validate ( ) )