

def test_content_subreddit_random(reddit, terminal):
    name = '/r/random'
    content = SubredditContent.from_name(reddit, name, terminal.loader)
    assert content.name.startswith('/r/')
    assert (content.name != name)

dataset/ETHPy150Open michael-lazar/rtv/tests/test_content.py test_content_subreddit_random/original