class_docstr: Tests lpi plots
class_docstr_tok: ["Tests","lpi","plots"]
docstr: Tests that the API returns a 404 Not Found when an unknown experiment is queried.
docstr_tok: ["Tests","that","the","API","returns","a","404","Not","Found","when","an","unknown","experiment","is","queried","."]
code: def test_unknown_experiment(self, client):
      """Tests that the API returns a 404 Not Found when an unknown experiment is queried."""
      response = client.simulate_get("/plots/lpi/unknown-experiment")
  
      assert response.status == "404 Not Found"
      assert response.json == {
          "title": "Experiment not found",
          "description": 'Experiment "unknown-experiment" does not exist',
      }
  
file_path: orion/tests/functional/serving/test_plots_resource.py
imports: import pytest
  from orion.testing import falcon_client
label_desc: Use image node_id 1 for calling the TestLPIPlots obj's underlying member method code with example usage: obj.test_unknown_experiment(client) without return types