Skip to content

Commit c76192e

Browse files
committed
Review comments
1 parent 381ccc1 commit c76192e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sentry_sdk/integrations/featureflags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class FeatureFlagsIntegration(Integration):
88
"""
99
Sentry integration for buffering feature flags manually with an API and capturing them on
1010
error events. We recommend you do this on each flag evaluation. Flags are buffered per Sentry
11-
scope and limited to 100 per event.
11+
scope.
1212
1313
See the [feature flag documentation](https://develop.sentry.dev/sdk/expected-features/#feature-flags)
1414
for more information.

tests/integrations/featureflags/test_featureflags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def test_featureflags_integration(sentry_init, capture_events, uninstall_integra
3232

3333
events = capture_events()
3434
sentry_sdk.capture_exception(Exception("something wrong!"))
35-
[event] = events
3635

37-
assert event["contexts"]["flags"] == {
36+
assert len(events) == 1
37+
assert events[0]["contexts"]["flags"] == {
3838
"values": [
3939
{"flag": "hello", "result": False},
4040
{"flag": "world", "result": True},

0 commit comments

Comments
 (0)