Skip to content

Commit 790bd40

Browse files
committed
another test
1 parent 25361b2 commit 790bd40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/opentelemetry/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def test_span_data_for_db_query():
199199
otel_span.attributes = {}
200200

201201
op, description, status, http_status, origin = span_data_for_db_query(otel_span)
202-
assert op == "db"
202+
assert op == "db.query"
203203
assert description == "OTel Span"
204204
assert status is None
205205
assert http_status is None
@@ -208,7 +208,7 @@ def test_span_data_for_db_query():
208208
otel_span.attributes = {"db.statement": "SELECT * FROM table;"}
209209

210210
op, description, status, http_status, origin = span_data_for_db_query(otel_span)
211-
assert op == "db"
211+
assert op == "db.query"
212212
assert description == "SELECT * FROM table;"
213213
assert status is None
214214
assert http_status is None

0 commit comments

Comments
 (0)