Skip to content

Commit 7006474

Browse files
committed
fix tests
1 parent 2e80459 commit 7006474

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_cloud_tracing.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,11 @@ def test_create_tracer_free_tier_fallback(self, capsys):
177177
# Verify local tracing message
178178
captured = capsys.readouterr()
179179
assert "💾 [Sentience] Local tracing:" in captured.out
180-
assert "traces/test-run.jsonl" in captured.out
180+
# Use os.path.join for platform-independent path checking
181+
import os
182+
183+
expected_path = os.path.join("traces", "test-run.jsonl")
184+
assert expected_path in captured.out
181185

182186
# Verify tracer works
183187
assert tracer.run_id == "test-run"

0 commit comments

Comments
 (0)