

def test_content_subreddit_initialize(reddit, terminal):
    submissions = terminal.get_subreddit('python').get_top(limit=None)
    content = SubredditContent('python', submissions, terminal.loader, 'top')
    assert (content.name == 'python')
    assert (content.order == 'top')
    assert (len(content._submission_data) == 1)

dataset/ETHPy150Open michael-lazar/rtv/tests/test_content.py test_content_subreddit_initialize/VarMisuse@14/21 `reddit`->`terminal`