# -*- coding: utf-8 -*-

import os
from services.cafe24_uploader import upload_file_to_cafe24

test_file = "D:/honghee/blog_api/test_upload.txt"

with open(test_file, "w", encoding="utf-8") as f:
    f.write("cafe24 upload test")

url = upload_file_to_cafe24(
    local_path=test_file,
    article_no="test_article",
    image_category="test",
    file_name="test_upload.txt"
)

print("[UPLOADED]", url)