app-MAIL-temp/tests/test_utils.py

12 lines
196 B
Python

from app.utils import random_string, random_words
def test_random_words():
s = random_words()
assert len(s) > 0
def test_random_string():
s = random_string()
assert len(s) > 0