def test_cli_rs3tohtml():
"""conversion to HTML on the commandline"""
temp_html = tempfile.NamedTemporaryFile(suffix='.html', delete=False)
temp_html.close()
cli([RS3_FILEPATH, temp_html.name])
with open(temp_html.name, 'r') as html_file:
assert EXPECTED_HTML in html_file.read()
os.unlink(temp_html.name)
评论列表
文章目录