#NEWLINE# def test_zone_explicit( self ) : #NEWLINE# #INDENT# from gcloud.dns.zone import ManagedZone #NEWLINE# DESCRIPTION = 'DESCRIPTION' #NEWLINE# DNS_NAME = 'test.example.com' #NEWLINE# creds = _Credentials ( ) #NEWLINE# client = self . _makeOne ( self . PROJECT , creds ) #NEWLINE# zone = client . zone ( self . ZONE_NAME , DNS_NAME , DESCRIPTION ) #NEWLINE# self . assertTrue ( isinstance ( zone , ManagedZone ) ) #NEWLINE# self . assertEqual ( zone . name , self . ZONE_NAME ) #NEWLINE# self . assertEqual ( zone . dns_name , DNS_NAME ) #NEWLINE# self . assertEqual ( zone . description , DESCRIPTION ) #NEWLINE# self . assertTrue ( ( zone . _client is client ) )