File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ def test_logs_tied_to_spans(sentry_init, capture_envelopes):
342342 assert logs [0 ]["span_id" ] == span .span_id
343343
344344
345+ @minimum_python_37
345346def test_auto_flush_logs_after_100 (sentry_init , capture_envelopes ):
346347 """
347348 If you log >100 logs, it should automatically trigger a flush.
@@ -360,6 +361,7 @@ def test_auto_flush_logs_after_100(sentry_init, capture_envelopes):
360361 raise AssertionError ("200 logs were never flushed after five seconds" )
361362
362363
364+ @minimum_python_37
363365def test_log_user_attributes (sentry_init , capture_envelopes ):
364366 """User attributes are sent if enable_logs is True and send_default_pii is True."""
365367 sentry_init (enable_logs = True , send_default_pii = True )
@@ -382,6 +384,7 @@ def test_log_user_attributes(sentry_init, capture_envelopes):
382384 }
383385
384386
387+ @minimum_python_37
385388def test_log_no_user_attributes_if_no_pii (sentry_init , capture_envelopes ):
386389 """User attributes are not if PII sending is off."""
387390 sentry_init (enable_logs = True , send_default_pii = False )
You can’t perform that action at this time.
0 commit comments