예제 #1
0
def test_get_random_avatar():
    avatar = get_random_avatar()
    assert isinstance(avatar, File)
    assert re.match(r"avatar\d+.png", avatar.name)
예제 #2
0
def test_get_random_avatar():
    avatar = get_random_avatar()
    assert isinstance(avatar, File)
    assert re.match(r"avatar\d+.png", avatar.name)