'Test that the empty option is there.'

def test_field_blank_option(self):

    state_select_html = '<select    name="state"    id="id_state">\n<option    value="">---------</option>\n<option    value="AL">Alabama</option>\n<option    value="AK">Alaska</option>\n<option    value="AS">American    Samoa</option>\n<option    value="AZ">Arizona</option>\n<option    value="AR">Arkansas</option>\n<option    value="AA">Armed    Forces    Americas</option>\n<option    value="AE">Armed    Forces    Europe</option>\n<option    value="AP">Armed    Forces    Pacific</option>\n<option    value="CA">California</option>\n<option    value="CO">Colorado</option>\n<option    value="CT">Connecticut</option>\n<option    value="DE">Delaware</option>\n<option    value="DC">District    of    Columbia</option>\n<option    value="FL">Florida</option>\n<option    value="GA"    selected="selected">Georgia</option>\n<option    value="GU">Guam</option>\n<option    value="HI">Hawaii</option>\n<option    value="ID">Idaho</option>\n<option    value="IL">Illinois</option>\n<option    value="IN">Indiana</option>\n<option    value="IA">Iowa</option>\n<option    value="KS">Kansas</option>\n<option    value="KY">Kentucky</option>\n<option    value="LA">Louisiana</option>\n<option    value="ME">Maine</option>\n<option    value="MD">Maryland</option>\n<option    value="MA">Massachusetts</option>\n<option    value="MI">Michigan</option>\n<option    value="MN">Minnesota</option>\n<option    value="MS">Mississippi</option>\n<option    value="MO">Missouri</option>\n<option    value="MT">Montana</option>\n<option    value="NE">Nebraska</option>\n<option    value="NV">Nevada</option>\n<option    value="NH">New    Hampshire</option>\n<option    value="NJ">New    Jersey</option>\n<option    value="NM">New    Mexico</option>\n<option    value="NY">New    York</option>\n<option    value="NC">North    Carolina</option>\n<option    value="ND">North    Dakota</option>\n<option    value="MP">Northern    Mariana    Islands</option>\n<option    value="OH">Ohio</option>\n<option    value="OK">Oklahoma</option>\n<option    value="OR">Oregon</option>\n<option    value="PA">Pennsylvania</option>\n<option    value="PR">Puerto    Rico</option>\n<option    value="RI">Rhode    Island</option>\n<option    value="SC">South    Carolina</option>\n<option    value="SD">South    Dakota</option>\n<option    value="TN">Tennessee</option>\n<option    value="TX">Texas</option>\n<option    value="UT">Utah</option>\n<option    value="VT">Vermont</option>\n<option    value="VI">Virgin    Islands</option>\n<option    value="VA">Virginia</option>\n<option    value="WA">Washington</option>\n<option    value="WV">West    Virginia</option>\n<option    value="WI">Wisconsin</option>\n<option    value="WY">Wyoming</option>\n</select>'
    self.assertEqual(str(self.form['state']), state_select_html)
