Skip to content

Commit f775ecb

Browse files
committed
Remove cmab_flag from config test expected response
OptimizelyConfig from go-sdk does not include CMAB flags in featuresMap, so the /v1/config endpoint won't return them. CMAB experiments are still tested through decide, activate, and dedicated CMAB tests.
1 parent 10e031d commit f775ecb

1 file changed

Lines changed: 0 additions & 62 deletions

File tree

tests/acceptance/test_acceptance/test_config.py

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -70,68 +70,6 @@
7070
}
7171
},
7272
"featuresMap": {
73-
"cmab_flag": {
74-
"id": "496419",
75-
"key": "cmab_flag",
76-
"experimentRules": [
77-
{
78-
"id": "9300002877087",
79-
"key": "cmab-rule_1",
80-
"audiences": "\\"Audience1\\"",
81-
"variationsMap": {
82-
"off": {
83-
"id": "1579277",
84-
"key": "off",
85-
"featureEnabled": false,
86-
"variablesMap": {}
87-
},
88-
"on": {
89-
"id": "1579278",
90-
"key": "on",
91-
"featureEnabled": true,
92-
"variablesMap": {}
93-
}
94-
}
95-
}
96-
],
97-
"deliveryRules": [
98-
{
99-
"id": "default-rollout-496419-16935023792",
100-
"key": "default-rollout-496419-16935023792",
101-
"audiences": "",
102-
"variationsMap": {
103-
"off": {
104-
"id": "1579279",
105-
"key": "off",
106-
"featureEnabled": false,
107-
"variablesMap": {}
108-
}
109-
}
110-
}
111-
],
112-
"variablesMap": {},
113-
"experimentsMap": {
114-
"cmab-rule_1": {
115-
"id": "9300002877087",
116-
"key": "cmab-rule_1",
117-
"audiences": "\\"Audience1\\"",
118-
"variationsMap": {
119-
"off": {
120-
"id": "1579277",
121-
"key": "off",
122-
"featureEnabled": false,
123-
"variablesMap": {}
124-
},
125-
"on": {
126-
"id": "1579278",
127-
"key": "on",
128-
"featureEnabled": true,
129-
"variablesMap": {}
130-
}
131-
}
132-
}
133-
}
134-
},
13573
"GkbzTurBWXr8EtNGZj2j6e": {
13674
"id": "147680",
13775
"key": "GkbzTurBWXr8EtNGZj2j6e",

0 commit comments

Comments
 (0)