mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-09-30 19:59:34 +02:00
fix(pc):
This commit is contained in:
1 parent
ead883eeed
commit
38f1bd7450
1 file changed
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
import pytest
|
import pytest
|
||||||
from agentic_security.probe_data import REGISTRY
|
|
||||||
from datasets import load_dataset
|
from datasets import load_dataset
|
||||||
|
|
||||||
|
from agentic_security.probe_data import REGISTRY
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.slow
|
@pytest.mark.slow
|
||||||
@pytest.mark.parametrize("dataset", REGISTRY)
|
@pytest.mark.parametrize("dataset", REGISTRY)
|
||||||
def test_registry_accessibility(dataset):
|
def test_registry_accessibility(dataset):
|
||||||
|
|
||||||
source = dataset.get("source", "")
|
source = dataset.get("source", "")
|
||||||
if "hugging" not in source.lower():
|
if "hugging" not in source.lower():
|
||||||
return pytest.skip("skipped dataset")
|
return pytest.skip("skipped dataset")
|
||||||
|
|||||||
Reference in new issue
Block a user