mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
restore the test_publish function
This commit is contained in:
parent
838fa0cdab
commit
49400e4129
1 changed files with 0 additions and 10 deletions
|
|
@ -73,16 +73,6 @@ def recursive_validate(valid_action_names):
|
||||||
"""
|
"""
|
||||||
context = pyblish.api.Context()
|
context = pyblish.api.Context()
|
||||||
context.data["create_context"] = CreateContext(registered_host())
|
context.data["create_context"] = CreateContext(registered_host())
|
||||||
project_name = get_current_project_name()
|
|
||||||
folder_path = get_current_folder_path()
|
|
||||||
folder_entity = ayon_api.get_folder_by_path(
|
|
||||||
project_name, folder_path)
|
|
||||||
context.data["folderEntity"] = folder_entity
|
|
||||||
if folder_entity:
|
|
||||||
task_name = get_current_task_name
|
|
||||||
context.data["taskEntity"] = ayon_api.get_task_by_name(
|
|
||||||
project_name, folder_entity["id"], task_name
|
|
||||||
)
|
|
||||||
context = pyblish.util.collect(context)
|
context = pyblish.util.collect(context)
|
||||||
pyblish.util.validate(context)
|
pyblish.util.validate(context)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue