from TikTokApi import TikTokApi
import os

api = TikTokApi.get_instance(
    custom_verifyFp=os.environ.get("verifyFp", None), use_test_endpoints=True
)


def test_search_for():
    assert len(api.search_for_hashtags("a")) >= 15
    assert len(api.search_for_music("a")) >= 15
    assert len(api.search_for_users("a")) >= 15
