diff --git a/tests/test_module/test.py b/tests/test_module/test.py index c4e412d..5f30daf 100644 --- a/tests/test_module/test.py +++ b/tests/test_module/test.py @@ -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()