Skip to content

Commit 041ce37

Browse files
committed
test: enable tracing so create_score reaches the score queue
1 parent 7a9e93a commit 041ce37

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/unit/test_mask_api_payloads.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test_create_dataset_masks_metadata():
3737

3838
def test_create_score_masks_comment():
3939
client = _client()
40+
client._tracing_enabled = True # create_score is a no-op otherwise
4041
client.create_score(name="s", value=1, trace_id="t" * 32, comment="secret")
4142
assert (
4243
client._resources.add_score_task.call_args.args[0]["body"].comment == "masked"

0 commit comments

Comments
 (0)