#NEWLINE# def test_get_details_for_invalid_subnet_id_fails( self ) : #NEWLINE# #INDENT# cidr = '10.0.0.0/24' #NEWLINE# subnet_req = ipam_req . SpecificSubnetRequest ( self . _tenant_id , 'non-existent-id' , cidr ) #NEWLINE# self . ipam_pool . allocate_subnet ( subnet_req ) #NEWLINE# self . assertRaises ( n_exc . SubnetNotFound , self . ipam_pool . get_subnet , 'non-existent-id' )