#NEWLINE# def test_SKPostalCodeField( self ) : #NEWLINE# #INDENT# error_format = [ 'Enter a postal code in the format XXXXX or XXX XX.' ] #NEWLINE# valid = { #NEWLINE# #INDENT# '91909' : '91909' , #NEWLINE# '917 01' : '91701' , #NEWLINE# #UNINDENT# } #NEWLINE# invalid = { #NEWLINE# #INDENT# '84545x' : error_format , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertFieldOutput ( SKPostalCodeField , valid , invalid )