Skip to content

Commit 538129a

Browse files
committed
fix tests
1 parent 848ee28 commit 538129a

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/test_logs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -692,11 +692,11 @@ def test_log_array_attributes(sentry_init, capture_envelopes):
692692

693693
assert serialized_attributes["string_list"] == {
694694
"value": ["value1", "value2"],
695-
"type": "string[]",
695+
"type": "array",
696696
}
697697
assert serialized_attributes["int_tuple"] == {
698698
"value": [3, 2, 1, 4],
699-
"type": "integer[]",
699+
"type": "array",
700700
}
701701
assert serialized_attributes["inhomogeneous_tuple"] == {
702702
"value": "(3, 2.0, 1, 4)",
@@ -705,11 +705,11 @@ def test_log_array_attributes(sentry_init, capture_envelopes):
705705

706706
assert serialized_attributes["float_list"] == {
707707
"value": [3.0, 3.5, 4.2],
708-
"type": "double[]",
708+
"type": "array",
709709
}
710710
assert serialized_attributes["bool_tuple"] == {
711711
"value": [False, False, True],
712-
"type": "boolean[]",
712+
"type": "array",
713713
}
714714
assert serialized_attributes["inhomogeneous_list"] == {
715715
"value": "[3.2, True, None]",

tests/test_metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,11 +425,11 @@ def test_log_array_attributes(sentry_init, capture_envelopes):
425425

426426
assert serialized_attributes["string_list.attribute"] == {
427427
"value": ["value1", "value2"],
428-
"type": "string[]",
428+
"type": "array",
429429
}
430430
assert serialized_attributes["int_tuple.attribute"] == {
431431
"value": [3, 2, 1, 4],
432-
"type": "integer[]",
432+
"type": "array",
433433
}
434434
assert serialized_attributes["inhomogeneous_tuple.attribute"] == {
435435
"value": "(3, 2.0, 1, 4)",
@@ -438,11 +438,11 @@ def test_log_array_attributes(sentry_init, capture_envelopes):
438438

439439
assert serialized_attributes["float_list.attribute"] == {
440440
"value": [3.0, 3.5, 4.2],
441-
"type": "double[]",
441+
"type": "array",
442442
}
443443
assert serialized_attributes["bool_tuple.attribute"] == {
444444
"value": [False, False, True],
445-
"type": "boolean[]",
445+
"type": "array",
446446
}
447447
assert serialized_attributes["inhomogeneous_list.attribute"] == {
448448
"value": "[3.2, True, None]",

0 commit comments

Comments
 (0)