Commit fbd0aa1
committed
test(ab): allow dimensions to be split into multiple lists
When using metrics.put_dimensions from python code, then the resulting
EMF messages will have a list of lists in their "Dimensions" key.
Currently, ab_test.py assumes that this list of lists always has length
one, meaning it ignores additional dimensions added via put_dimensions.
Have it instead flatten the list of lists so that it always considers
all dimensions.
Signed-off-by: Patrick Roy <[email protected]>1 parent 1461e28 commit fbd0aa1
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
0 commit comments