#NEWLINE# def test_that_when_creating_an_alias_succeeds_the_create_alias_method_returns_true( self ) : #NEWLINE# #INDENT# '\n        tests True alias created.\n        ' #NEWLINE# self . conn . create_alias . return_value = alias_ret #NEWLINE# result = boto_lambda . create_alias ( FunctionName = 'testfunction' , Name = alias_ret [ 'Name' ] , FunctionVersion = alias_ret [ 'FunctionVersion' ] , ** conn_parameters ) #NEWLINE# self . assertTrue ( result [ 'created' ] )