diff --git a/src/pynyaa/_models.py b/src/pynyaa/_models.py index d1d57e9..97df521 100644 --- a/src/pynyaa/_models.py +++ b/src/pynyaa/_models.py @@ -41,9 +41,6 @@ class Submitter(ParentModel): >>> print(a) John - >>> print(repr(a)) - Submitter(name='John', url='https://nyaa.si/user/john', is_trusted=True, is_banned=False) - >>> a == b True @@ -124,6 +121,7 @@ class NyaaTorrentPage(ParentModel): >>> set((a, b, c)) == {a, c} == {b, c} # dedupe True + ``` """ id: int diff --git a/tests/test_models.py b/tests/test_models.py index c95fbe4..47b504f 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -30,7 +30,7 @@ def test_nyaa_torrent_page() -> None: title="title", category=Category.ANIME_ENGLISH_TRANSLATED.value, submitter=submitter_a, - date=datetime(year=2024, month=6, day=30), + datetime=datetime(year=2024, month=6, day=30), information=None, seeders=20, leechers=30, @@ -50,7 +50,7 @@ def test_nyaa_torrent_page() -> None: title="title", category=Category.ANIME_ENGLISH_TRANSLATED.value, submitter=submitter_b, - date=datetime(year=2024, month=6, day=30), + datetime=datetime(year=2024, month=6, day=30), information=None, seeders=34, leechers=23, @@ -70,7 +70,7 @@ def test_nyaa_torrent_page() -> None: title="title", category=Category.ANIME_ENGLISH_TRANSLATED.value, submitter=submitter_c, - date=datetime(year=2024, month=6, day=30), + datetime=datetime(year=2024, month=6, day=30), information=None, seeders=34, leechers=23,