class_docstr: Tests the server's response on benchmarks/
class_docstr_tok: ["Tests","the","server","'s","response","on","benchmarks\/"]
docstr: Tests that the API returns a positive response when no benchmarks are present
docstr_tok: ["Tests","that","the","API","returns","a","positive","response","when","no","benchmarks","are","present"]
code: def test_no_benchmarks(self, client):
      """Tests that the API returns a positive response when no benchmarks are present"""
      response = client.simulate_get("/benchmarks")
  
      assert response.json == []
      assert response.status == "200 OK"
  
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 TestCollection obj's underlying member method code with example usage: obj.test_no_benchmarks(client) without return types