Skip to content

Commit 6c4d3f8

Browse files
authored
[FSSDK-10580] fix acceptance tests (#421)
* ci test * update tests * fix datafile json * fix json * update tests * fix json * fix json * fix json * fix json * fix json * fix json * update test * update test * fix test * clean up
1 parent a4595a5 commit 6c4d3f8

File tree

6 files changed

+849
-576
lines changed

6 files changed

+849
-576
lines changed

tests/acceptance/datafile.py

Lines changed: 465 additions & 115 deletions
Large diffs are not rendered by default.

tests/acceptance/odp_datafile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@
157157
{
158158
"publicKey": "ax6UV2223fD-jpOXID0BMg",
159159
"host": "https://api.zaius.com",
160-
"key": "odp"
160+
"key": "odp",
161+
"pixelUrl": "https://jumbe.zaius.com",
161162
}
162163
],
163164
"experiments": [
@@ -242,5 +243,5 @@
242243
"key": "myevent"
243244
}
244245
],
245-
"revision": "18"
246-
}
246+
"revision": "19"
247+
}

tests/acceptance/test_acceptance/test_activate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def test_activate__feature(session_obj, feature_key, expected_response,
223223
{
224224
"userId": "matjaz",
225225
"experimentKey": "ab_test1",
226-
"featureKey": "flag_ab_test1",
226+
"featureKey": "GkbzTurBWXr8EtNGZj2j6e",
227227
"variationKey": "variation_1",
228228
"type": "feature",
229229
"enabled": true
@@ -496,7 +496,7 @@ def test_activate__enabled(session_obj, enabled, experimentKey, featureKey,
496496
{
497497
"enabled": true,
498498
"experimentKey": "ab_test1",
499-
"featureKey": "flag_ab_test1",
499+
"featureKey": "GkbzTurBWXr8EtNGZj2j6e",
500500
"type": "feature",
501501
"userId": "matjaz",
502502
"variationKey": "variation_1"

tests/acceptance/test_acceptance/test_batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_batch_valid_reponse(session_obj):
186186
"variablesMap": {}
187187
}
188188
},
189-
"revision": "21",
189+
"revision": "22",
190190
"sdkKey": "TkB2xhu8WEAHa4LphN3xZ2"
191191
}"""
192192

0 commit comments

Comments
 (0)