mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-25 12:01:04 +02:00
chore: add empty value test case
This commit is contained in:
parent
6a6d1d7755
commit
ac66b98180
1 changed files with 3 additions and 0 deletions
|
|
@ -98,6 +98,9 @@ class TestEmpty:
|
|||
def test_empty_incoming_list(self):
|
||||
assert resolve_masked_api_keys([], [REAL_A]) == []
|
||||
|
||||
def test_empty_value(self):
|
||||
assert resolve_masked_api_keys("", REAL_A) == ""
|
||||
|
||||
def test_no_existing_keys_keeps_incoming(self):
|
||||
result = resolve_masked_api_keys([MASK_A, MASK_B], [])
|
||||
assert result == [MASK_A, MASK_B]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue