#NEWLINE# def test07_translate( self ) : #NEWLINE# #INDENT# 'Testing GeoQuerySet.translate() on Z values.' #NEWLINE# ztranslations = ( 5.23 , 23 , ( - 17 ) ) #NEWLINE# for ztrans in ztranslations : #NEWLINE# #INDENT# for city in City3D . objects . translate ( 0 , 0 , ztrans ) : #NEWLINE# #INDENT# self . assertEqual ( ( city_dict [ city . name ] [ 2 ] + ztrans ) , city . translate . z )