

def test_upload_bytes(self):
    data = six.b('hello world')
    file_info = self.bucket.upload_bytes(data, 'file1')
    self.assertTrue(isinstance(file_info, FileVersionInfo))

dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/test/test_bucket.py TestUpload.test_upload_bytes/original