Skip to content

Commit 2803d5e

Browse files
committed
test improvements
1 parent a7e4971 commit 2803d5e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test_data_collection.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,12 @@ def test_has_data_collection_enabled_gates_on_presence():
320320
assert (
321321
has_data_collection_enabled({"_experiments": {"data_collection": {}}}) is True
322322
)
323+
assert (
324+
has_data_collection_enabled({"_experiments": {"data_collection": None}}) is True
325+
)
323326

324327

325-
def test_no_experiments_falls_back_to_send_default_pii():
328+
def test_no_experiments_data_collection_values_fall_back_to_send_default_pii_configuration():
326329
sentry_sdk.init(send_default_pii=True)
327330
client = sentry_sdk.get_client()
328331
dc = client.options["data_collection"]

0 commit comments

Comments
 (0)