#NEWLINE# def test_ex_list_subscriptions( self ) : #NEWLINE# #INDENT# subscriptions = self . driver . ex_list_subscriptions ( ) #NEWLINE# subscription = subscriptions [ 0 ] #NEWLINE# self . assertEqual ( len ( subscriptions ) , 5 ) #NEWLINE# self . assertEqual ( subscription . id , '7272' ) #NEWLINE# self . assertEqual ( subscription . resource , 'vlan' ) #NEWLINE# self . assertEqual ( subscription . amount , 1 ) #NEWLINE# self . assertEqual ( subscription . period , '345 days, 0:00:00' ) #NEWLINE# self . assertEqual ( subscription . status , 'active' ) #NEWLINE# self . assertEqual ( subscription . price , '0E-20' )