class_docstr: Tests the server's response to benchmarks/:name
class_docstr_tok: ["Tests","the","server","'s","response","to","benchmarks\/",":","name"]
docstr: Tests that a 404 response is returned when the benchmark
  doesn't exist in the database
docstr_tok: ["Tests","that","a","404","response","is","returned","when","the","benchmark","does","n't","exist","in","the","database"]
code: def test_non_existent_benchmark(self, client):
      """
      Tests that a 404 response is returned when the benchmark
      doesn't exist in the database
      """
      response = client.simulate_get("/benchmarks/a")
  
      assert response.status == "404 Not Found"
      assert response.json == {
          "title": "Benchmark not found",
          "description": 'Benchmark "a" does not exist',
      }
  
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 1 for calling the TestItem obj's underlying member method code with example usage: obj.test_non_existent_benchmark(client) without return types