Skip to content

Commit 738cfcd

Browse files
chore: ruff format
1 parent aabb00f commit 738cfcd

1 file changed

Lines changed: 52 additions & 8 deletions

File tree

posthog/test/test_feature_flags.py

Lines changed: 52 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3720,14 +3720,25 @@ def test_mixed_targeting_person_condition_matches(self, patch_flags):
37203720
{
37213721
"aggregation_group_type_index": 0,
37223722
"properties": [
3723-
{"key": "plan", "value": "enterprise", "operator": "exact", "type": "group", "group_type_index": 0}
3723+
{
3724+
"key": "plan",
3725+
"value": "enterprise",
3726+
"operator": "exact",
3727+
"type": "group",
3728+
"group_type_index": 0,
3729+
}
37243730
],
37253731
"rollout_percentage": 100,
37263732
},
37273733
{
37283734
"aggregation_group_type_index": None,
37293735
"properties": [
3730-
{"key": "email", "value": "test@example.com", "operator": "exact", "type": "person"}
3736+
{
3737+
"key": "email",
3738+
"value": "test@example.com",
3739+
"operator": "exact",
3740+
"type": "person",
3741+
}
37313742
],
37323743
"rollout_percentage": 100,
37333744
},
@@ -3759,14 +3770,25 @@ def test_mixed_targeting_group_condition_matches(self, patch_flags):
37593770
{
37603771
"aggregation_group_type_index": 0,
37613772
"properties": [
3762-
{"key": "plan", "value": "enterprise", "operator": "exact", "type": "group", "group_type_index": 0}
3773+
{
3774+
"key": "plan",
3775+
"value": "enterprise",
3776+
"operator": "exact",
3777+
"type": "group",
3778+
"group_type_index": 0,
3779+
}
37633780
],
37643781
"rollout_percentage": 100,
37653782
},
37663783
{
37673784
"aggregation_group_type_index": None,
37683785
"properties": [
3769-
{"key": "email", "value": "test@example.com", "operator": "exact", "type": "person"}
3786+
{
3787+
"key": "email",
3788+
"value": "test@example.com",
3789+
"operator": "exact",
3790+
"type": "person",
3791+
}
37703792
],
37713793
"rollout_percentage": 100,
37723794
},
@@ -3799,14 +3821,25 @@ def test_mixed_targeting_no_match_returns_false(self, patch_flags):
37993821
{
38003822
"aggregation_group_type_index": 0,
38013823
"properties": [
3802-
{"key": "plan", "value": "enterprise", "operator": "exact", "type": "group", "group_type_index": 0}
3824+
{
3825+
"key": "plan",
3826+
"value": "enterprise",
3827+
"operator": "exact",
3828+
"type": "group",
3829+
"group_type_index": 0,
3830+
}
38033831
],
38043832
"rollout_percentage": 100,
38053833
},
38063834
{
38073835
"aggregation_group_type_index": None,
38083836
"properties": [
3809-
{"key": "email", "value": "test@example.com", "operator": "exact", "type": "person"}
3837+
{
3838+
"key": "email",
3839+
"value": "test@example.com",
3840+
"operator": "exact",
3841+
"type": "person",
3842+
}
38103843
],
38113844
"rollout_percentage": 100,
38123845
},
@@ -3840,14 +3873,25 @@ def test_mixed_targeting_group_without_groups_skips_to_person(self, patch_flags)
38403873
{
38413874
"aggregation_group_type_index": 0,
38423875
"properties": [
3843-
{"key": "plan", "value": "enterprise", "operator": "exact", "type": "group", "group_type_index": 0}
3876+
{
3877+
"key": "plan",
3878+
"value": "enterprise",
3879+
"operator": "exact",
3880+
"type": "group",
3881+
"group_type_index": 0,
3882+
}
38443883
],
38453884
"rollout_percentage": 100,
38463885
},
38473886
{
38483887
"aggregation_group_type_index": None,
38493888
"properties": [
3850-
{"key": "email", "value": "test@example.com", "operator": "exact", "type": "person"}
3889+
{
3890+
"key": "email",
3891+
"value": "test@example.com",
3892+
"operator": "exact",
3893+
"type": "person",
3894+
}
38513895
],
38523896
"rollout_percentage": 100,
38533897
},

0 commit comments

Comments
 (0)