Skip to content

Commit

Permalink
chore: update incomplete test function docstring (#4629)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell authored Sep 16, 2024
1 parent 50a370d commit b74adbd
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion api/tests/unit/features/versioning/test_unit_versioning_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,16 @@ def test_creating_multiple_segment_overrides_in_multiple_versions_sets_correct_p
admin_client_new: APIClient,
) -> None:
"""
This test is for a specific case where
This test is for a specific case found by a customer where creating
multiple segment overrides consecutively ended up with the 2 segment
overrides having the same priority.
This was really caused by slightly odd behaviour from the FE which
tried to update the existing segment override at the same time as
creating the new one, but this test ensures that the priorities
are set correct even in this case.
See PR here for FE fix: https://github.com/Flagsmith/flagsmith/pull/4609
"""

def generate_segment_override_fs_payload(
Expand Down

0 comments on commit b74adbd

Please sign in to comment.