mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
feat: download pkg from marketplace (#9184)
This commit is contained in:
7
api/tests/unit_tests/core/helper/test_marketplace.py
Normal file
7
api/tests/unit_tests/core/helper/test_marketplace.py
Normal 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
|
||||
Reference in New Issue
Block a user