mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-18 07:43:11 -04:00
8 lines
228 B
Python
8 lines
228 B
Python
|
|
from notifications_utils.clients.redis import rate_limit_cache_key
|
||
|
|
|
||
|
|
|
||
|
|
def test_rate_limit_cache_key(sample_service):
|
||
|
|
assert rate_limit_cache_key(sample_service.id, "TEST") == "{}-TEST".format(
|
||
|
|
sample_service.id
|
||
|
|
)
|