@@ -131,10 +131,15 @@ def setUp(self):
131
131
'id' : '111094'
132
132
}],
133
133
'audiences' : [{
134
- 'name' : 'Test attribute users' ,
134
+ 'name' : 'Test attribute users 1 ' ,
135
135
'conditions' : '["and", ["or", ["or", '
136
- '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value "}]]]' ,
136
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_1 "}]]]' ,
137
137
'id' : '11154'
138
+ }, {
139
+ 'name' : 'Test attribute users 2' ,
140
+ 'conditions' : '["and", ["or", ["or", '
141
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_2"}]]]' ,
142
+ 'id' : '11159'
138
143
}],
139
144
'projectId' : '111001'
140
145
}
@@ -242,10 +247,15 @@ def setUp(self):
242
247
'id' : '111094'
243
248
}],
244
249
'audiences' : [{
245
- 'name' : 'Test attribute users' ,
250
+ 'name' : 'Test attribute users 1 ' ,
246
251
'conditions' : '["and", ["or", ["or", '
247
- '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value "}]]]' ,
252
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_1 "}]]]' ,
248
253
'id' : '11154'
254
+ }, {
255
+ 'name' : 'Test attribute users 2' ,
256
+ 'conditions' : '["and", ["or", ["or", '
257
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_2"}]]]' ,
258
+ 'id' : '11159'
249
259
}],
250
260
'rollouts' : [{
251
261
'id' : '211111' ,
@@ -257,24 +267,48 @@ def setUp(self):
257
267
'layerId' : '211111' ,
258
268
'audienceIds' : ['11154' ],
259
269
'trafficAllocation' : [{
260
- 'entityId' : '211128' ,
261
- 'endOfRange' : 5000
262
- }, {
263
270
'entityId' : '211129' ,
264
271
'endOfRange' : 9000
265
272
}],
266
273
'variations' : [{
267
- 'key' : '211128' ,
268
- 'id' : '211128'
269
- }, {
270
274
'key' : '211129' ,
271
275
'id' : '211129'
272
276
}]
277
+ }, {
278
+ 'id' : '211137' ,
279
+ 'key' : '211137' ,
280
+ 'status' : 'Running' ,
281
+ 'forcedVariations' : {},
282
+ 'layerId' : '211111' ,
283
+ 'audienceIds' : ['11159' ],
284
+ 'trafficAllocation' : [{
285
+ 'entityId' : '211139' ,
286
+ 'endOfRange' : 3000
287
+ }],
288
+ 'variations' : [{
289
+ 'key' : '211139' ,
290
+ 'id' : '211139'
291
+ }]
292
+ }, {
293
+ 'id' : '211147' ,
294
+ 'key' : '211147' ,
295
+ 'status' : 'Running' ,
296
+ 'forcedVariations' : {},
297
+ 'layerId' : '211111' ,
298
+ 'audienceIds' : [],
299
+ 'trafficAllocation' : [{
300
+ 'entityId' : '211149' ,
301
+ 'endOfRange' : 6000
302
+ }],
303
+ 'variations' : [{
304
+ 'key' : '211149' ,
305
+ 'id' : '211149'
306
+ }]
273
307
}]
274
308
}],
275
309
'featureFlags' : [{
276
310
'id' : '91111' ,
277
- 'key' : 'test_feature_1 ' ,
311
+ 'key' : 'test_feature_in_experiment ' ,
278
312
'experimentIds' : ['111127' ],
279
313
'rolloutId' : '' ,
280
314
'variables' : [{
@@ -290,7 +324,7 @@ def setUp(self):
290
324
}]
291
325
}, {
292
326
'id' : '91112' ,
293
- 'key' : 'test_feature_2 ' ,
327
+ 'key' : 'test_feature_in_rollout ' ,
294
328
'experimentIds' : [],
295
329
'rolloutId' : '211111' ,
296
330
'variables' : [],
@@ -424,8 +458,13 @@ def setUp(self):
424
458
'audiences' : [{
425
459
'name' : 'Test attribute users' ,
426
460
'conditions' : '["and", ["or", ["or", '
427
- '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value "}]]]' ,
461
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_1 "}]]]' ,
428
462
'id' : '11154'
463
+ }, {
464
+ 'name' : 'Test attribute users' ,
465
+ 'conditions' : '["and", ["or", ["or", '
466
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_2"}]]]' ,
467
+ 'id' : '11159'
429
468
}],
430
469
'projectId' : '111001'
431
470
}
@@ -474,10 +513,15 @@ def setUp(self):
474
513
'id' : '111094'
475
514
}],
476
515
'audiences' : [{
477
- 'name' : 'Test attribute users' ,
516
+ 'name' : 'Test attribute users 1 ' ,
478
517
'conditions' : '["and", ["or", ["or", '
479
- '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value "}]]]' ,
518
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_1 "}]]]' ,
480
519
'id' : '11154'
520
+ }, {
521
+ 'name' : 'Test attribute users 2' ,
522
+ 'conditions' : '["and", ["or", ["or", '
523
+ '{"name": "test_attribute", "type": "custom_attribute", "value": "test_value_2"}]]]' ,
524
+ 'id' : '11159'
481
525
}],
482
526
'rollouts' : [{
483
527
'id' : '211111' ,
@@ -489,19 +533,43 @@ def setUp(self):
489
533
'layerId' : '211111' ,
490
534
'audienceIds' : ['11154' ],
491
535
'trafficAllocation' : [{
492
- 'entityId' : '211128' ,
493
- 'endOfRange' : 5000
494
- }, {
495
536
'entityId' : '211129' ,
496
537
'endOfRange' : 9000
497
538
}],
498
539
'variations' : [{
499
- 'key' : '211128' ,
500
- 'id' : '211128'
501
- }, {
502
540
'key' : '211129' ,
503
541
'id' : '211129'
504
542
}]
543
+ }, {
544
+ 'id' : '211137' ,
545
+ 'key' : '211137' ,
546
+ 'status' : 'Running' ,
547
+ 'forcedVariations' : {},
548
+ 'layerId' : '211111' ,
549
+ 'audienceIds' : ['11159' ],
550
+ 'trafficAllocation' : [{
551
+ 'entityId' : '211139' ,
552
+ 'endOfRange' : 3000
553
+ }],
554
+ 'variations' : [{
555
+ 'key' : '211139' ,
556
+ 'id' : '211139'
557
+ }]
558
+ }, {
559
+ 'id' : '211147' ,
560
+ 'key' : '211147' ,
561
+ 'status' : 'Running' ,
562
+ 'forcedVariations' : {},
563
+ 'layerId' : '211111' ,
564
+ 'audienceIds' : [],
565
+ 'trafficAllocation' : [{
566
+ 'entityId' : '211149' ,
567
+ 'endOfRange' : 6000
568
+ }],
569
+ 'variations' : [{
570
+ 'key' : '211149' ,
571
+ 'id' : '211149'
572
+ }]
505
573
}]
506
574
}],
507
575
'featureFlags' : [{
0 commit comments