Skip to content

Commit d45d1cd

Browse files
committed
tests
1 parent 700d964 commit d45d1cd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/test_cloud_client.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ def before_hook(context):
306306
hook_called["before"] = True
307307
return context
308308

309-
def after_hook(context, variable):
309+
def after_hook(context, variable, variable_metadata):
310310
hook_called["after"] = True
311311

312-
def finally_hook(context, variable):
312+
def finally_hook(context, variable, variable_metadata):
313313
hook_called["finally"] = True
314314

315315
def error_hook(context, error):
@@ -346,10 +346,10 @@ def before_hook(context):
346346
hook_called["before"] = True
347347
raise Exception("Before hook failed")
348348

349-
def after_hook(context, variable):
349+
def after_hook(context, variable, variable_metadata):
350350
hook_called["after"] = True
351351

352-
def finally_hook(context, variable):
352+
def finally_hook(context, variable, variable_metadata):
353353
hook_called["finally"] = True
354354

355355
def error_hook(context, error):
@@ -382,10 +382,10 @@ def before_hook(context):
382382
context_received = context
383383
return context
384384

385-
def after_hook(context, variable):
385+
def after_hook(context, variable, variable_metadata):
386386
pass
387387

388-
def finally_hook(context, variable):
388+
def finally_hook(context, variable, variable_metadata):
389389
pass
390390

391391
def error_hook(context, error):

test/test_local_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def before_hook(context):
432432
hook_called["before"] = True
433433
raise Exception("Before hook failed")
434434

435-
def after_hook(context, variable):
435+
def after_hook(context, variable, variable_metadata):
436436
hook_called["after"] = True
437437

438438
def finally_hook(context, variable):

0 commit comments

Comments
 (0)