Skip to content

Commit 6d0d1d1

Browse files
committed
Updates AccessEntry condition setter test to use a dict
1 parent a323c9d commit 6d0d1d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/test_dataset.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,10 @@ def test_condition_getter_setter(
588588
entry.condition = None
589589
assert entry.condition is None
590590

591+
# Set condition using a dict
592+
entry.condition = condition_1_api_repr
593+
assert entry._properties.get("condition") == condition_1_api_repr
594+
591595
# Test setter validation
592596
def test_condition_setter_invalid_type(self):
593597
entry = AccessEntry("READER", "domain", "example.com")

0 commit comments

Comments
 (0)