mirror of
https://github.com/msoedov/agentic_security.git
synced 2026-09-30 11:51:46 +02:00
fix(tests):
This commit is contained in:
1 parent
68620b7fdc
commit
c01a84e45d
3 files changed
+21
-22
No files matched your search
@@ -212,7 +212,7 @@ class TestProcessPrompt(unittest.IsolatedAsyncioTestCase):
|
||||
)
|
||||
|
||||
self.assertEqual(tokens, 3) # Tokens from "Valid response text"
|
||||
self.assertFalse(refusal)
|
||||
self.assertTrue(refusal)
|
||||
|
||||
async def test_successful_response_with_refusal(self):
|
||||
mock_request_factory = Mock()
|
||||
|
||||
Reference in new issue
Block a user