initial commit
This commit is contained in:
10
tests/test_manga.py
Normal file
10
tests/test_manga.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
|
||||
from anilistapi.schemas.manga import Manga
|
||||
from anilistapi.api import AnilistAPI
|
||||
|
||||
|
||||
def test_search_manga():
|
||||
api = AnilistAPI()
|
||||
manga = api.search_manga("Berserk")
|
||||
assert manga[0].title.english == "Berserk"
|
||||
Reference in New Issue
Block a user