Commit 91c0a41
committed
fix(claude-runner): Update Langfuse test assertions for privacy masking
The Langfuse initialization now includes a mask parameter for privacy-first
message masking. Updated test assertions to check for the mask parameter
and added @pytest.mark.asyncio decorators to async test functions.
Changes:
- test_observability.py: Updated test_init_successful to verify mask parameter
is present and callable instead of exact parameter match
- test_langfuse_model_metadata.py: Added @pytest.mark.asyncio decorators to
async test functions
This fixes test failures introduced by the privacy masking feature in commit
8eb65e1 (feat: Add privacy-first message masking to Langfuse observability).1 parent 9e284fa commit 91c0a41
File tree
2 files changed
+12
-5
lines changed- components/runners/claude-code-runner/tests
2 files changed
+12
-5
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
0 commit comments