Skip to content

Commit ee92681

Browse files
author
Ying Chen
committed
update recording conftest
1 parent b5ada34 commit ee92681

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/promptflow-azure/tests/sdk_cli_azure_test

‎src/promptflow-azure/tests/sdk_cli_azure_test/conftest.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def is_in_ci_pipeline():
6060
RESOURCE_ID_FORMAT = "/subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}"
6161
MODEL_ROOT = FLOWS_DIR
6262
COUNTER_FILE = (Path(__file__) / "../count.json").resolve()
63+
RECORDINGS_TEST_CONFIGS_ROOT = Path(PROMPTFLOW_ROOT / "../promptflow-recording/recordings").resolve()
6364

6465

6566
def pytest_configure():
@@ -361,6 +362,7 @@ def vcr_recording(request: pytest.FixtureRequest, user_object_id: str, tenant_id
361362
user_object_id=user_object_id,
362363
tenant_id=tenant_id,
363364
variable_recorder=variable_recorder,
365+
recording_dir=(RECORDINGS_TEST_CONFIGS_ROOT / "azure").resolve(),
364366
)
365367
recording.enter_vcr()
366368
request.addfinalizer(recording.exit_vcr)

0 commit comments

Comments
 (0)