Skip to content

Commit 4ea86d8

Browse files
Added negative test case
1 parent 150ac98 commit 4ea86d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/unit/test_material_managers_caching.py

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def test_mkp_to_default_cmm(mocker):
118118
r"max_bytes_encrypted cannot exceed {}".format(MAX_BYTES_PER_KEY),
119119
),
120120
(dict(max_age=0.0), r"max_age cannot be less than or equal to 0"),
121+
(dict(max_age=-1.0), r"max_age cannot be less than or equal to 0"),
121122
),
122123
)
123124
def test_invalid_values(invalid_kwargs, error_message):

0 commit comments

Comments
 (0)