Skip to content

Commit e964133

Browse files
committed
Do not check for sentry.release in test_logs_attributes
1 parent b838765 commit e964133

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_logs.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ def test_logs_attributes(sentry_init, capture_envelopes):
230230
for k, v in attrs.items():
231231
assert logs[0]["attributes"][k] == v
232232
assert logs[0]["attributes"]["sentry.environment"] == "production"
233-
assert "sentry.release" in logs[0]["attributes"]
234233
assert logs[0]["attributes"]["sentry.message.parameter.my_var"] == "some value"
235234
assert logs[0]["attributes"][SPANDATA.SERVER_ADDRESS] == "test-server"
236235
assert logs[0]["attributes"]["sentry.sdk.name"].startswith("sentry.python")

0 commit comments

Comments
 (0)