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