fix: template fix

This commit is contained in:
Alexander Myasoedov committed 2026-09-07 14:03:57 +03:00
1 parent f286ebf21a
commit 3e6b184c4f
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@
</div> </div>
</header> </header>
[[% include "partials/concent.html" %]] [[% include "partials/consent.html" %]]
<div class="flex space-x-4 overflow-x-auto scrollbar-hide"> <div class="flex space-x-4 overflow-x-auto scrollbar-hide">
<div <div
-6
View File
@@ -69,7 +69,6 @@ def make_test_registry():
class TestLibraryLevel: class TestLibraryLevel:
# Handles an empty dataset list.
def test_class(self, test_server): def test_class(self, test_server):
llmSpec = test_spec_assets.SAMPLE_SPEC llmSpec = test_spec_assets.SAMPLE_SPEC
maxBudget = 1000000 maxBudget = 1000000
@@ -77,7 +76,6 @@ class TestLibraryLevel:
datasets = make_test_registry() datasets = make_test_registry()
result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th) result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th)
assert isinstance(result, dict) assert isinstance(result, dict)
print(result)
assert len(result) in [0, 1] assert len(result) in [0, 1]
@pytest.mark.slow @pytest.mark.slow
@@ -90,7 +88,6 @@ class TestLibraryLevel:
llmSpec, maxBudget, datasets, max_th, enableMultiStepAttack=True llmSpec, maxBudget, datasets, max_th, enableMultiStepAttack=True
) )
assert isinstance(result, dict) assert isinstance(result, dict)
print(result)
assert len(result) in [0, 1] assert len(result) in [0, 1]
@pytest.mark.skipif(not has_module("garak"), reason="Garak module not installed") @pytest.mark.skipif(not has_module("garak"), reason="Garak module not installed")
@@ -113,7 +110,6 @@ class TestLibraryLevel:
] ]
result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th) result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th)
assert isinstance(result, dict) assert isinstance(result, dict)
print(result)
assert len(result) in [0, 1] assert len(result) in [0, 1]
@pytest.mark.slow @pytest.mark.slow
@@ -140,7 +136,6 @@ class TestLibraryLevel:
] ]
result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th) result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th)
assert isinstance(result, dict) assert isinstance(result, dict)
print(result)
assert len(result) in [0, 1] assert len(result) in [0, 1]
@pytest.mark.skip @pytest.mark.skip
@@ -169,7 +164,6 @@ class TestLibraryLevel:
] ]
result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th) result = SecurityScanner.scan(llmSpec, maxBudget, datasets, max_th)
assert isinstance(result, dict) assert isinstance(result, dict)
print(result)
assert len(result) in [0, 1] assert len(result) in [0, 1]