class_docstr: Tests the server's response to benchmarks/:name
class_docstr_tok: ["Tests","the","server","'s","response","to","benchmarks\/",":","name"]
docstr: Tests that if an unknown parameter is specified in
  the query string, an error is returned even if the benchmark doesn't exist.
docstr_tok: ["Tests","that","if","an","unknown","parameter","is","specified","in","the","query","string",",","an","error","is","returned","even","if","the","benchmark","does","n't","exist","."]
code: def test_unknown_parameter(self, client):
      """
      Tests that if an unknown parameter is specified in
      the query string, an error is returned even if the benchmark doesn't exist.
      """
      response = client.simulate_get("/benchmarks/a?unknown=true")
  
      assert response.status == "400 Bad Request"
      assert response.json == {
          "title": "Invalid parameter",
          "description": (
              'Parameter "unknown" is not supported. '
              "Expected one of ['algorithms', 'assessment', 'task']."
          ),
      }
  
imports: import json
  import os
  import pytest
  from falcon import testing
  from orion.benchmark.assessment import AverageRank, AverageResult
  from orion.benchmark.benchmark_client import get_or_create_benchmark
  from orion.benchmark.task import Branin, CarromTable, EggHolder
  from orion.serving.webapi import WebApi
  from orion.storage.base import setup_storage
label_desc: Use image node_id 10 for calling the TestItem obj's underlying member method code with example usage: obj.test_unknown_parameter(client) without return types