Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 46a5fd0

Browse files
authored
Add codegate package path to poetry (#1012)
* Fix codegate not a package when poetry install Signed-off-by: Radoslav Dimitrov <[email protected]> * Add a log message when an integration test has started Signed-off-by: Radoslav Dimitrov <[email protected]> --------- Signed-off-by: Radoslav Dimitrov <[email protected]>
1 parent 0bec802 commit 46a5fd0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ version = "0.1.7"
44
description = "Generative AI CodeGen security gateway"
55
readme = "README.md"
66
authors = []
7-
7+
packages = [
8+
{ include = "codegate", from = "src" },
9+
]
810
[tool.poetry.dependencies]
911
python = ">=3.12,<4.0"
1012
click = "==8.1.8"

tests/integration/integration_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ async def run_test(self, test: dict, test_headers: dict) -> bool:
136136
streaming = data.get("stream", False)
137137
provider = test["provider"]
138138

139+
logger.info(f"Starting test: {test_name}")
140+
139141
response = self.call_codegate(url, test_headers, data, provider)
140142
if not response:
141143
logger.error(f"Test {test_name} failed: No response received")

0 commit comments

Comments
 (0)