#NEWLINE# def test_find_cluster_template_by_name( self ) : #NEWLINE# #INDENT# ctx = context . ctx ( ) #NEWLINE# t = self . api . cluster_template_create ( ctx , c . SAMPLE_CLT ) #NEWLINE# found = utils . find_cluster_template_by_name ( ctx , c . SAMPLE_CLT [ 'name' ] ) #NEWLINE# self . assertEqual ( t [ 'id' ] , found [ 'id' ] ) #NEWLINE# found = utils . find_cluster_template_by_name ( ctx , 'fred' ) #NEWLINE# self . assertIsNone ( found )