#NEWLINE# def test_set_availability_zone_not_compute_service( self ) : #NEWLINE# #INDENT# 'Test not compute service get right availability zone.' #NEWLINE# service = self . _create_service_with_topic ( 'network' , self . host ) #NEWLINE# services = db . service_get_all ( self . context ) #NEWLINE# new_service = az . set_availability_zones ( self . context , services ) [ 0 ] #NEWLINE# self . assertEqual ( services . default_in_az , new_service [ 'availability_zone' ] ) #NEWLINE# self . _destroy_service ( service )