def test_invalid_is_response_valid(invalid_request_fixture): """Test that method returns False when valid request passed.""" assert not Server.is_request_valid(invalid_request_fixture)
def test_valid_is_request_valid(valid_request_fixture): """Test that method returns True when valid request passed.""" assert Server.is_request_valid(valid_request_fixture)