feat: download pkg from marketplace (#9184)

This commit is contained in:
Junyan Qin
2024-10-11 02:00:02 +08:00
committed by GitHub
parent 118fa66567
commit b58f8dd7b4
6 changed files with 41 additions and 3 deletions

View File

@ -0,0 +1,7 @@
from core.helper.marketplace import download_plugin_pkg
def test_download_plugin_pkg():
pkg = download_plugin_pkg("yeuoly/google:0.0.1@4ff79ee644987e5b744d9c5b7a735d459fe66f26b28724326a7834d7e459e708")
assert pkg is not None
assert len(pkg) > 0