Fix ValidateDeadlineConnection running per instance

This commit is contained in:
Roy Nieterau 2018-11-23 13:32:52 +01:00
parent 6c0c6d5784
commit b51cad8d88

View file

@ -12,7 +12,7 @@ class ValidateDeadlineConnection(pyblish.api.ContextPlugin):
hosts = ["maya"]
families = ["colorbleed.renderlayer"]
def process(self, instance):
def process(self, context):
AVALON_DEADLINE = api.Session.get("AVALON_DEADLINE",
"http://localhost:8082")
@ -24,4 +24,4 @@ class ValidateDeadlineConnection(pyblish.api.ContextPlugin):
assert response.ok, "Response must be ok"
assert response.text.startswith("Deadline Web Service "), (
"Web service did not respond with 'Deadline Web Service'"
)
)