aboutsummaryrefslogtreecommitdiff
path: root/postgres-examples/test_client.py
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-12-09 00:20:36 -0800
committerchrislu <chris.lu@gmail.com>2025-12-09 00:20:36 -0800
commitb198a0e8d1b874cb5ead7a7b6ef1af3c304341b6 (patch)
tree68f82ef7933e3664b7a6f75e242baa2eef421fb2 /postgres-examples/test_client.py
parent4e6e7b6ac5eaf340a8755882c147fb2d7fac2714 (diff)
downloadseaweedfs-b198a0e8d1b874cb5ead7a7b6ef1af3c304341b6.tar.xz
seaweedfs-b198a0e8d1b874cb5ead7a7b6ef1af3c304341b6.zip
Add integration tests for s3:ExistingObjectTag conditions
- Add TestCheckPolicyWithEntry: tests checkPolicyWithEntry helper with various tag scenarios (matching tags, non-matching tags, empty entry, nil entry) - Add TestCheckPolicyWithEntryNoPolicyForBucket: tests early return when no policy - Add TestCheckPolicyWithEntryNilPolicyEngine: tests nil engine handling - Add TestCheckPolicyWithEntryDenyPolicy: tests deny policies with tag conditions - Add TestHasPolicyForBucket: tests HasPolicyForBucket method These tests cover the Phase 2 policy evaluation with object entry metadata, ensuring tag-based conditions are properly evaluated.
Diffstat (limited to 'postgres-examples/test_client.py')
0 files changed, 0 insertions, 0 deletions