Remove unused variables from workspace isolation test

* Remove initial_ok check
* Remove both_set verification
This commit is contained in:
yangdx 2025-11-17 13:13:12 +08:00
parent c1ec657c54
commit cf73cb4d24

View file

@ -702,9 +702,6 @@ async def test_update_flags_workspace_isolation():
flag1_obj = await get_update_flag(test_namespace, workspace=workspace1)
flag2_obj = await get_update_flag(test_namespace, workspace=workspace2)
# Initial state should be False
initial_ok = flag1_obj.value is False and flag2_obj.value is False
# Set all flags for workspace1
await set_all_update_flags(test_namespace, workspace=workspace1)
@ -731,9 +728,6 @@ async def test_update_flags_workspace_isolation():
await set_all_update_flags(test_namespace, workspace=workspace1)
await set_all_update_flags(test_namespace, workspace=workspace2)
# Verify both are set
both_set = flag1_obj.value is True and flag2_obj.value is True
# Clear only workspace1
await clear_all_update_flags(test_namespace, workspace=workspace1)