#NEWLINE# def test_ex_create_subscription( self ) : #NEWLINE# #INDENT# CloudSigmaMockHttp . type = 'CREATE_SUBSCRIPTION' #NEWLINE# subscription = self . driver . ex_create_subscription ( amount = 1 , period = '1 month' , resource = 'vlan' ) #NEWLINE# self . assertEqual ( subscription . amount , 1 ) #NEWLINE# self . assertEqual ( subscription . period , '1 month' ) #NEWLINE# self . assertEqual ( subscription . resource , 'vlan' ) #NEWLINE# self . assertEqual ( subscription . price , '10.26666666666666666666666667' ) #NEWLINE# self . assertEqual ( subscription . auto_renew , False ) #NEWLINE# self . assertEqual ( subscription . subscribed_object , '2494079f-8376-40bf-9b37-34d633b8a7b7' )