Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#279 Fixing the fixtures [run-notebook-tests]
Browse files Browse the repository at this point in the history
ahsimb committed Jun 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d9cbe50 commit e930ae7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/notebooks/notebook_test_utils.py
Original file line number Diff line number Diff line change
@@ -181,9 +181,9 @@ def access_to_temp_secret_store(request,
"""
if request.param == StorageBackend.onprem:
with access_to_temp_onprem_secret_store(tmp_path) as onprem_store:
return onprem_store
yield onprem_store
elif request.param == StorageBackend.saas:
return access_to_temp_saas_secret_store
yield access_to_temp_saas_secret_store
else:
raise ValueError(('Unrecognised testing backend in the access_to_temp_secret_store. '
'Should be either "onprem" or "saas"'))

0 comments on commit e930ae7

Please sign in to comment.