Skip to content

Commit a68b1c6

Browse files
author
Jenkins
committed
refactor: move Python tests into llmtrace-python crate
1 parent 8f18593 commit a68b1c6

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

RALPH_LOOPS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ The current `StorageBackend` trait handles only traces. Refactor into focused re
289289
- `instrument(client)` function — wraps an OpenAI client to add tracing
290290
- `configure(config_dict)` — configure from Python
291291
- Add a `pyproject.toml` for maturin build
292-
- Add basic Python tests in `tests/test_python.py`
292+
- Add basic Python tests in `crates/llmtrace-python/tests/test_python.py`
293293
- Commit and push
294294

295295
**Acceptance**: `maturin develop` succeeds, Python import works, basic test passes.
@@ -862,7 +862,7 @@ Implemented in commit `dcf100d`. ClickHouseTraceRepository with MergeTree engine
862862

863863
**Tasks**:
864864

865-
1. **Create `bindings/node/`** using `napi-rs`
865+
1. **Create `crates/llmtrace-nodejs/`** using `napi-rs`
866866
2. **Expose**: `LLMSecTracer` class, `instrument()` function, action reporting
867867
3. **TypeScript types**: generated `.d.ts` files
868868
4. **npm package**: `package.json`, build scripts, publish-ready

crates/llmtrace-python/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ classifiers = [
2424

2525
[tool.maturin]
2626
features = ["pyo3/extension-module"]
27+
28+
[tool.pytest.ini_options]
29+
testpaths = ["tests"]

tests/test_python.py renamed to crates/llmtrace-python/tests/test_python.py

File renamed without changes.

0 commit comments

Comments
 (0)