Skip to content

Commit

Permalink
fix json
Browse files Browse the repository at this point in the history
  • Loading branch information
pulak-opti committed Aug 23, 2024
1 parent c246a69 commit 1afd853
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
34 changes: 17 additions & 17 deletions tests/acceptance/datafile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
datafile = {
"accountId": "10845721364",
"anonymizeIP": "true",
"anonymizeIP": True,
"attributes": [
{
"id": "16921322086",
Expand All @@ -19,7 +19,7 @@
"name": "Optimizely-Generated Audience for Backwards Compatibility"
}
],
"botFiltering": "false",
"botFiltering": False,
"environmentKey": "production",
"events": [
{
Expand Down Expand Up @@ -57,13 +57,13 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16925360560",
"key": "variation_1",
"variables": []
},
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16915611472",
"key": "variation_2",
"variables": []
Expand Down Expand Up @@ -107,13 +107,13 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16905941566",
"key": "variation_1",
"variables": []
},
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16927770169",
"key": "variation_2",
"variables": []
Expand Down Expand Up @@ -162,7 +162,7 @@
"type": "double"
},
{
"defaultValue": "true",
"defaultValue": True,
"id": "16932993089",
"key": "bool_var",
"type": "boolean"
Expand Down Expand Up @@ -217,7 +217,7 @@
],
"variations": [
{
"featureEnabled": "false",
"featureEnabled": False,
"id": "471185",
"key": "off",
"variables": []
Expand Down Expand Up @@ -245,7 +245,7 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16925940659",
"key": "16925940659",
"variables": []
Expand Down Expand Up @@ -273,7 +273,7 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16927890136",
"key": "16927890136",
"variables": []
Expand Down Expand Up @@ -306,7 +306,7 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16906801184",
"key": "16906801184",
"variables": [
Expand All @@ -320,7 +320,7 @@
},
{
"id": "16932993089",
"value": "true"
"value": True
},
{
"id": "16937161477",
Expand All @@ -346,7 +346,7 @@
],
"variations": [
{
"featureEnabled": "false",
"featureEnabled": False,
"id": "471188",
"key": "off",
"variables": [
Expand All @@ -360,7 +360,7 @@
},
{
"id": "16932993089",
"value": "true"
"value": True
},
{
"id": "16937161477",
Expand Down Expand Up @@ -396,7 +396,7 @@
],
"variations": [
{
"featureEnabled": "true",
"featureEnabled": True,
"id": "16931381940",
"key": "16931381940",
"variables": []
Expand All @@ -419,7 +419,7 @@
],
"variations": [
{
"featureEnabled": "false",
"featureEnabled": False,
"id": "471189",
"key": "off",
"variables": []
Expand Down Expand Up @@ -447,7 +447,7 @@
],
"variations": [
{
"featureEnabled": "false",
"featureEnabled": False,
"id": "471190",
"key": "off",
"variables": []
Expand Down
20 changes: 10 additions & 10 deletions tests/acceptance/test_acceptance/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"ab_test1": {
"id": "16911963060",
"key": "ab_test1",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16905941566",
Expand All @@ -33,7 +33,7 @@
"feature_2_test": {
"id": "16910084756",
"key": "feature_2_test",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16925360560",
Expand All @@ -58,7 +58,7 @@
{
"id": "16911963060",
"key": "ab_test1",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16905941566",
Expand Down Expand Up @@ -95,7 +95,7 @@
"ab_test1": {
"id": "16911963060",
"key": "ab_test1",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16905941566",
Expand All @@ -121,7 +121,7 @@
{
"id": "16941022436",
"key": "16941022436",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"16906801184": {
"id": "16906801184",
Expand Down Expand Up @@ -230,7 +230,7 @@
{
"id": "16910084756",
"key": "feature_2_test",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16925360560",
Expand All @@ -251,7 +251,7 @@
{
"id": "16924931120",
"key": "16924931120",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"16931381940": {
"id": "16931381940",
Expand Down Expand Up @@ -280,7 +280,7 @@
"feature_2_test": {
"id": "16910084756",
"key": "feature_2_test",
"audiences": "Audience1",
"audiences": 'Audience1',
"variationsMap": {
"variation_1": {
"id": "16925360560",
Expand Down Expand Up @@ -374,8 +374,8 @@
"audiences": [
{
"id": "16902921321",
"name": "Audience1",
"conditions": "[and, [or, [or, {match: exact, name: attr_1, type: custom_attribute, value: hola}]]]"
"name": 'Audience1',
'conditions': '["and", ["or", ["or", {"match": "exact", "name": "attr_1", "type": "custom_attribute", "value": "hola"}]]]'
}
],
"events": [
Expand Down

0 comments on commit 1afd853

Please sign in to comment.