Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/probes/test_probes_leakreplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_leakreplay_probe_structure(klassname):
]
expected_tag_count = len(expected_tags)

probe_class = getattr(garak.probes.leakreplay, klassname)
probe_class = getattr(garak.probes.leakreplay, klassname.split(".")[-1])

# Also verify the tag count & content to ensure no duplicates or extras
if probe_class.__name__.endswith(
Expand Down Expand Up @@ -138,7 +138,7 @@ def test_leakreplay_probe_structure(klassname):


@pytest.mark.parametrize("klassname", CLOZE_PROBES)
def test_leakreplay_probe_structure(klassname):
def test_leakreplay_cloze_probe_structure(klassname):
probe = garak._plugins.load_plugin(klassname)

for prompt in probe.prompts:
Expand Down
Loading