AMUseBot/tests/test_helpers.py

7 lines
180 B
Python
Raw Normal View History

2023-04-09 22:01:15 +02:00
from src.utils.helpers import get_random_img
def test_get_random_img():
img_names = ["img/1.png", "img/2.png", "img/3.png"]
assert get_random_img(img_names) in img_names