class_docstr: Tests trials/:experiment_name/:trial_id
docstr: Tests that an existing trial is returned according to the API specification
docstr_tok: ["Tests","that","an","existing","trial","is","returned","according","to","the","API","specification"]
code: def test_get_trial(self, client, ephemeral_storage):
      """Tests that an existing trial is returned according to the API specification"""
      storage = ephemeral_storage.storage
  
      add_experiment(storage, name="a", version=1, _id=1)
      add_trial(
          storage,
          experiment=1,
          id_override="00",
          status="completed",
          value=0,
      )
      add_trial(
          storage,
          experiment=1,
          id_override="01",
          status="completed",
          value=1,
      )
  
      response = client.simulate_get(
          "/trials/a/79a873a1146cbdcc385f53e7c14f41aa"
      )
  
      assert response.status == "200 OK"
      assert response.json == {
          "id": "79a873a1146cbdcc385f53e7c14f41aa",
          "submitTime": "0001-01-01 00:00:00",
          "startTime": "0001-01-01 00:00:10",
          "endTime": "0001-01-02 00:00:00",
          "parameters": {"x": 1},
          "objective": 0.05,
          "statistics": {"a": 10, "b": 5},
          "status": "completed",
      }
  
imports: import copy
  import datetime
  import random
  import falcon
  from orion.core.io import experiment_builder
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 3 for calling the TestTrialItem obj's underlying member method code with example usage: obj.test_get_trial(client, ephemeral_storage) without return types