#NEWLINE# def test_get_region_url( self ) : #NEWLINE# #INDENT# swifts = { #NEWLINE# #INDENT# 'BHS-1' : { #NEWLINE# #INDENT# 'endpoint' : 'http://endpoint' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# self . containers . swifts = swifts #NEWLINE# url = self . containers . get_region_url ( 'BHS-1' ) #NEWLINE# self . assertEqual ( url , 'http://endpoint' )