Example #1
0
def test_download_single_result(snapshot):
    result = download_single_result(KNOWN_RESULT)
    snapshot.assert_match(result["html"])
Example #2
0
def test_download_single_result_without_html():
    result = download_single_result(KNOWN_RESULT_NO_HTML)
    assert result["html"] == ""
Example #3
0
def test_download_single_result_without_html_error_handling():
    result = download_single_result(KNOWN_RESULT_NO_HTML_ERROR_HANDLING)
    assert result["html"] == ""