Skip to content

Commit 122e70c

Browse files
avantikalalclaude
andcommitted
test: add pytest.mark.hf marker to HuggingFace integration tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8164702 commit 122e70c

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ testpaths = tests
123123
# Use pytest markers to select/deselect specific tests
124124
markers =
125125
wandb: mark tests that require wandb authentication (deselect with '-m "not wandb"')
126+
hf: mark tests that call the HuggingFace API (deselect with '-m "not hf"')
126127

127128
[devpi:upload]
128129
# Options for the devpi: PyPI server and packaging tool

tests/test_resources_hf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import os
88
import pytest
99

10+
pytestmark = pytest.mark.hf
11+
1012

1113
def test_list_models():
1214
"""list_models() returns model repos from collection."""

0 commit comments

Comments
 (0)