Skip to content

Commit

Permalink
Add conftest change
Browse files Browse the repository at this point in the history
  • Loading branch information
nick863 committed Jul 12, 2024
1 parent 0b3bb70 commit f9bf217
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/promptflow-evals/tests/evals/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,3 +362,9 @@ def vcr_recording(request: pytest.FixtureRequest, user_object_id: str, tenant_id
yield recording
else:
yield None


def pytest_collection_modifyitems(items):
for item in items:
if item.get_closest_marker('azuretest'):
item.own_markers = [marker for marker in item.own_markers if marker.name != 'localtest']

0 comments on commit f9bf217

Please sign in to comment.