#NEWLINE# def test_ZAProvinceSelect( self ) : #NEWLINE# #INDENT# f = ZAProvinceSelect ( ) #NEWLINE# out = '<select name="province">\n<option value="EC" selected="selected">Eastern Cape</option>\n<option value="FS">Free State</option>\n<option value="GP">Gauteng</option>\n<option value="KN">KwaZulu-Natal</option>\n<option value="LP">Limpopo</option>\n<option value="MP">Mpumalanga</option>\n<option value="NC">Northern Cape</option>\n<option value="NW">North West</option>\n<option value="WC">Western Cape</option>\n</select>' #NEWLINE# self . assertHTMLEqual ( f . render ( 'province' , 'EC' ) , out )