def test_blank_choice_label(self): form = forms.AllowNullForm() self.assertEqual(form.fields["country"].choices[0], ("", "(select country)"))
def test_blank_choice_label(self): form = forms.AllowNullForm() self.assertEqual(form.fields['country'].choices[0], ('', '(select country)'))