def test_get_from_web_returns_tuple_with_valid_data(self, scraper_mock): dict_one, dict_two = proxy._get_from_web(YEAR, 'www.url.com') assert isinstance(dict_one, dict) assert isinstance(dict_two, dict) assert dict_one assert dict_two
def test_get_from_web_returns_tuple_of_empty_dicts(self, scraper_mock): assert proxy._get_from_web(YEAR, 'www.url.com') == EMPTY_RESPONSE