@@ -20,7 +20,7 @@ def test_emit_success_outcome(self, memory_exporter):
2020
2121 spans = memory_exporter .get_finished_spans ()
2222 attrs = dict (spans [0 ].attributes )
23- assert attrs .get ("botanu.outcome" ) == "success"
23+ assert attrs .get ("botanu.outcome.status " ) == "success"
2424
2525 def test_emit_failure_outcome (self , memory_exporter ):
2626 tracer = trace .get_tracer ("test" )
@@ -29,7 +29,7 @@ def test_emit_failure_outcome(self, memory_exporter):
2929
3030 spans = memory_exporter .get_finished_spans ()
3131 attrs = dict (spans [0 ].attributes )
32- assert attrs .get ("botanu.outcome" ) == "failed"
32+ assert attrs .get ("botanu.outcome.status " ) == "failed"
3333 assert attrs .get ("botanu.outcome.reason" ) == "timeout"
3434
3535 def test_emit_outcome_with_value (self , memory_exporter ):
@@ -43,7 +43,7 @@ def test_emit_outcome_with_value(self, memory_exporter):
4343
4444 spans = memory_exporter .get_finished_spans ()
4545 attrs = dict (spans [0 ].attributes )
46- assert attrs .get ("botanu.outcome" ) == "success"
46+ assert attrs .get ("botanu.outcome.status " ) == "success"
4747 assert attrs .get ("botanu.outcome.value_type" ) == "tickets_resolved"
4848 assert attrs .get ("botanu.outcome.value_amount" ) == 5.0
4949
0 commit comments