#NEWLINE# def test_basic( self ) : #NEWLINE# #INDENT# sot = server_ip . ServerIP ( ) #NEWLINE# self . assertEqual ( 'server_ip' , self . resource_key ) #NEWLINE# self . assertEqual ( 'server_ips' , sot . resources_key ) #NEWLINE# self . assertEqual ( '/servers/%(server_id)s/ips' , sot . base_path ) #NEWLINE# self . assertEqual ( 'compute' , sot . service . service_type ) #NEWLINE# self . assertFalse ( sot . allow_create ) #NEWLINE# self . assertFalse ( sot . allow_retrieve ) #NEWLINE# self . assertFalse ( sot . allow_update ) #NEWLINE# self . assertFalse ( sot . allow_delete ) #NEWLINE# self . assertTrue ( sot . allow_list )