

def test_content_submission_initialize(reddit, terminal):
    url = 'https://www.reddit.com/r/Python/comments/2xmo63/'
    submission = reddit.get_submission(url)
    content = SubmissionContent(url, terminal.loader, indent_size=3, max_indent_level=4, order='top')
    assert (content.indent_size == 3)
    assert (content.max_indent_level == 4)
    assert (content.order == 'top')
    assert (content.name is not None)

dataset/ETHPy150Open michael-lazar/rtv/tests/test_content.py test_content_submission_initialize/VarMisuse@29/56 `submission`->`url`