We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15cf625 commit de7f398Copy full SHA for de7f398
tests/test_scope.py
@@ -829,6 +829,13 @@ def test_should_send_default_pii_true_without_dsn_and_spotlight(sentry_init):
829
assert should_send_default_pii() is True
830
831
832
+def test_should_send_default_pii_false_without_dsn_and_spotlight(sentry_init):
833
+ sentry_init(spotlight=True, send_default_pii=False)
834
+
835
+ # There is now now way to opt out of sending PII to spotlight
836
+ assert should_send_default_pii() is True
837
838
839
def test_set_tags():
840
scope = Scope()
841
scope.set_tags({"tag1": "value1", "tag2": "value2"})
0 commit comments