'Tests uploading an empty file (exercises boundary conditions).'

def test_empty_file_upload(self):

    res_upload_handler = ResumableUploadHandler()
    empty_src_file = StringIO.StringIO('')
    empty_src_file.seek(0)
    dst_key = self._MakeKey(set_contents=False)
    dst_key.set_contents_from_file(empty_src_file, res_upload_handler=res_upload_handler)
    self.assertEqual(0, dst_key.size)
