<filename>tests/test_sound.py<gh_stars>1-10
from TikTokApi import TikTokApi
import os

api = TikTokApi(custom_verify_fp=os.environ.get("verifyFp", None))


song_id = "7016547803243022337"


def test_sound_videos():
    sound = api.sound(id=song_id)
    video_count = 0
    for video in sound.videos(count=100):
        video_count += 1

    assert video_count >= 100


def test_sound_info():
    sound = api.sound(id=song_id)
    data = sound.info()
    assert data["id"] == song_id
