Skip to content

Commit 2ce5e40

Browse files
committed
add test for the None case
1 parent 083b458 commit 2ce5e40

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

tests/catalog/test_rest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,3 +1628,8 @@ def test_get_endpoint_params() -> None:
16281628
assert params == {
16291629
"purgeRequested": True,
16301630
}
1631+
1632+
1633+
def test_get_endpoint_with_no_params() -> None:
1634+
params = _get_endpoint_params(Endpoints.namespace_exists, purge_requested=True)
1635+
assert params is None

0 commit comments

Comments
 (0)