'Not a multipart upload.'

def test_resumable_media_fail_unknown_response_code_first_request(self):

    self.http = HttpMock(datafile('zoo.json'), {'status': '200'})
    zoo = build('zoo', 'v1', http=self.http)
    media_upload = MediaFileUpload(datafile('small.png'), resumable=True)
    request = zoo.animals().insert(media_body=media_upload, body=None)
    http = HttpMockSequence([({'status': '400', 'location': 'http://upload.example.com'}, '')])
    try:
        request.execute(http=http)
        self.fail('Should    have    raised    ResumableUploadError.')
    except ResumableUploadError as e:
        self.assertEqual(400, e.resp.status)
