-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d695f88
commit 146e14a
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import pytest | ||
Check notice Code scanning / CodeQL Unused import Note test
Import of 'pytest' is not used.
|
||
from notifications_utils.clients.redis.cache_keys import CACHE_KEYS, CACHE_KEYS_ALL | ||
|
||
|
||
# Ensure the CACHE_KEYS and CACHE_KEYS_ALL are provided since they are used by both ADMIN and API | ||
def test_ensure_CACHE_KEYS_is_provided(): | ||
assert len(CACHE_KEYS) > 0 | ||
|
||
|
||
def test_ensure_CACHE_KEYS_ALL_is_provided(): | ||
assert len(CACHE_KEYS_ALL) > 0 | ||
assert len(CACHE_KEYS_ALL) > 0 |