Skip to content

Commit

Permalink
fix(tests):
Browse files Browse the repository at this point in the history
  • Loading branch information
msoedov committed Dec 15, 2024
1 parent 68620b7 commit c01a84e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion agentic_security/probe_actor/test_fuzzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ async def test_successful_response_no_refusal(self):
)

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()
Expand Down
33 changes: 16 additions & 17 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ agentic_security = "agentic_security.__main__:entrypoint"

[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.115.2"
fastapi = "^0.115.6"
uvicorn = "^0.32.0"
fire = "0.7.0"
loguru = "^0.7.2"
httpx = ">=0.25.1,<0.28.0"
loguru = "^0.7.3"
httpx = "^0.28.1"
cache-to-disk = "^2.0.0"
pandas = ">=1.4,<3.0"
datasets = ">=1.14,<4.0"
Expand All @@ -46,7 +46,7 @@ jinja2 = "^3.1.4"
[tool.poetry.group.dev.dependencies]
black = "^24.10.0"
mypy = "^1.12.0"
pytest = "^8.3.3"
pytest = "^8.3.4"
pre-commit = "^4.0.1"
inline-snapshot = "^0.13.3"
langchain-groq = "^0.2.0"
Expand Down

0 comments on commit c01a84e

Please sign in to comment.