

def test_upload_local_file(self):
    with TempDir() as d:
        path = os.path.join(path, 'file1')
        data = six.b('hello world')
        write_file(path, data)
        self.bucket.upload_local_file(path, 'file1')
        self._check_file_contents('file1', data)

dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/test/test_bucket.py TestUpload.test_upload_local_file/VarMisuse@27/33 `d`->`path`