'Attempting to upload two files should fail.'

def test_multiple_upload_failure(self):

    self.login(self.example_email('hamlet'))
    fp = StringIO('bah!')
    fp.name = 'a.txt'
    fp2 = StringIO('pshaw!')
    fp2.name = 'b.txt'
    result = self.client_post('/json/user_uploads', {'f1': fp, 'f2': fp2})
    self.assert_json_error(result, 'You    may    only    upload    one    file    at    a    time')
