def test_check_links_should_return_a_dictionary_with_links_and_status():
    saving_zelda = SavingZelda(**zelda_args)
    links = ["http://httpbin.org/status/200", "http://httpbin.org/status/404"]
    saving_zelda.check_links(links)
    expected_results = {"http://httpbin.org/status/200": 200,
                        "http://httpbin.org/status/404": 404}
    assert expected_results == saving_zelda.links_and_status
def test_check_links_should_return_an_empty_dictionary_given_an_empy_list():
    saving_zelda = SavingZelda(**zelda_args)
    saving_zelda.check_links([])
    assert {} == saving_zelda.links_and_status