'Attempting to upload two files should fail.'

def test_multiple_upload_failure(self):

    self.login(self.example_email('hamlet'))
    with get_test_image_file('img.png') as fp1:
        with get_test_image_file('img.png') as fp2:
            result = self.client_post('/json/users/me/avatar', {'f1': fp1, 'f2': fp2})
    self.assert_json_error(result, 'You    must    upload    exactly    one    avatar.')
