fix type in tests

This commit is contained in:
2025-10-05 12:44:30 +02:00
parent f7a0660d4c
commit a31acb3a0b
7 changed files with 71 additions and 62 deletions

View File

@@ -1,6 +1,5 @@
import os
import pytest
from praw import Reddit
from app.social.reddit import MAX_COMMENTS, RedditWrapper
@pytest.mark.social
@@ -10,7 +9,7 @@ class TestRedditWrapper:
def test_initialization(self):
wrapper = RedditWrapper()
assert wrapper is not None
assert isinstance(wrapper.tool, Reddit)
assert wrapper.tool is not None
def test_get_top_crypto_posts(self):
wrapper = RedditWrapper()