mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-10-01 04:09:36 +02:00
feat(update test markers):
This commit is contained in:
1 parent
263a282f47
commit
6a8cc9bb14
1 file changed
+4
-3
@@ -50,7 +50,7 @@ def make_test_registry():
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
class TestAS:
|
class TestLibraryLevel:
|
||||||
# Handles an empty dataset list.
|
# 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
|
||||||
@@ -62,8 +62,8 @@ class TestAS:
|
|||||||
print(result)
|
print(result)
|
||||||
assert len(result) in [0, 1]
|
assert len(result) in [0, 1]
|
||||||
|
|
||||||
# TODO: slow test
|
@pytest.mark.slow
|
||||||
def _test_class_msj(self, test_server):
|
def test_class_msj(self, test_server):
|
||||||
llmSpec = test_spec_assets.SAMPLE_SPEC
|
llmSpec = test_spec_assets.SAMPLE_SPEC
|
||||||
maxBudget = 1000
|
maxBudget = 1000
|
||||||
max_th = 0.3
|
max_th = 0.3
|
||||||
@@ -98,6 +98,7 @@ class TestAS:
|
|||||||
print(result)
|
print(result)
|
||||||
assert len(result) in [0, 1]
|
assert len(result) in [0, 1]
|
||||||
|
|
||||||
|
@pytest.mark.slow
|
||||||
def test_backend(self, test_server):
|
def test_backend(self, test_server):
|
||||||
llmSpec = test_spec_assets.SAMPLE_SPEC
|
llmSpec = test_spec_assets.SAMPLE_SPEC
|
||||||
maxBudget = 1000000
|
maxBudget = 1000000
|
||||||
|
|||||||
Reference in new issue
Block a user