'When a wrong section is given in request.POST, 404 is raised.'

def test_wrong_section(self):

    user = UserFactory.create(vouched=False)
    url = reverse('phonebook:profile_edit', prefix='/en-US/')
    data = {'full_name': user.userprofile.full_name, 'email': user.email, 'username': user.username, 'lat': 40.005814, 'lng': (-3.42071), 'externalaccount_set-MAX_NUM_FORMS': '1000', 'externalaccount_set-INITIAL_FORMS': '0', 'externalaccount_set-TOTAL_FORMS': '0', 'language_set-0-id': '', 'language_set-0-userprofile': '', 'language_set-0-code': 'en', 'language_set-1-id': '', 'language_set-1-userprofile': '', 'language_set-1-code': 'fr', 'language_set-MAX_NUM_FORMS': '1000', 'language_set-INITIAL_FORMS': '0', 'language_set-TOTAL_FORMS': '2', 'foo_section': ''}
    data.update(_get_privacy_fields(MOZILLIANS))
    with self.login(user) as client:
        response = client.post(url, data=data, follow=True)
    eq_(response.status_code, 404)
