Skip to content

Commit e94b4ad

Browse files
committed
Pass lifecycle_hooks to custom_service in test_default_credentials_policy
1 parent 007af8b commit e94b4ad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

testsuite/tests/apicast/policy/test_default_credentials_policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ def application(application, service):
1818

1919

2020
@pytest.fixture(scope="module")
21-
def service_app_id_key(custom_service, service_proxy_settings, request, backends_mapping):
21+
def service_app_id_key(custom_service, service_proxy_settings, request, backends_mapping, lifecycle_hooks):
2222
"Another service using app_id/key auth configuration"
2323
settings = {"name": blame(request, "CustSvc"), "backend_version": Service.AUTH_APP_ID_KEY}
24-
return custom_service(settings, service_proxy_settings, backends_mapping)
24+
return custom_service(settings, service_proxy_settings, backends_mapping, hooks=lifecycle_hooks)
2525

2626

2727
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)