Skip to content

Commit

Permalink
Merge pull request #43 from radaron/fix_module_test
Browse files Browse the repository at this point in the history
Fix module_test
  • Loading branch information
radaron authored Nov 13, 2024
2 parents cc79b90 + eb9bfe1 commit 31c3dfe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_module/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def test_rss(self, client):
rss_url = os.environ["RSS_URL"]
torrents = client.get_by_rss(rss_url)

assert len(list(torrents)) == 1
torrent = torrents[0]
torrents_list = list(torrents)
assert len(torrents_list) == 1
torrent = torrents_list[0]

assert isinstance(torrent, Torrent)
assert "FORREST" in torrent["title"].upper()
Expand Down

0 comments on commit 31c3dfe

Please sign in to comment.