class_docstr: Test the server's response to experiments/status/:name
class_docstr_tok: ["Test","the","server","'s","response","to","experiments\/status\/",":","name"]
docstr: Tests that if an unknown parameter is specified in
  the query string, an error is returned even if the experiment doesn't exist.
docstr_tok: ["Tests","that","if","an","unknown","parameter","is","specified","in","the","query","string",",","an","error","is","returned","even","if","the","experiment","does","n't","exist","."]
code: def test_unknown_parameter(self, client, ephemeral_storage):
      """
      Tests that if an unknown parameter is specified in
      the query string, an error is returned even if the experiment doesn't exist.
      """
      response = client.simulate_get(
          "/experiments/status/a?unknown=true"
      )
  
      storage = ephemeral_storage.storage
  
      assert response.status == "400 Bad Request"
      assert response.json == {
          "title": "Invalid parameter",
          "description": 'Parameter "unknown" is not supported. Expected parameter "version".',
      }
  
      _add_experiment(storage, name="a", version=1, _id=1)
  
      response = client.simulate_get(
          "/experiments/status/a?unknown=true"
      )
  
      assert response.status == "400 Bad Request"
      assert response.json == {
          "title": "Invalid parameter",
          "description": 'Parameter "unknown" is not supported. Expected parameter "version".',
      }
  
imports: import copy
  import datetime
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 6 for calling the TestStats obj's underlying member method code with example usage: obj.test_unknown_parameter(client, ephemeral_storage) without return types