def test_it_should_get_multiple_values(self): query = [("works", "Agamemnon"), ("works", "Nereids")] request = make_get_request(query) result = parser.load_querystring(request, author_schema) assert result["works"] == ["Agamemnon", "Nereids"]
def test_it_should_return_missing_if_not_present(self): query = [] request = make_get_request(query) result = parser.load_querystring(request, author_schema) assert result["name"] is missing assert result["works"] is missing
def test_it_should_get_single_values(self): query = [("name", "Aeschylus")] request = make_get_request(query) result = parser.load_querystring(request, author_schema) assert result["name"] == "Aeschylus"