class_docstr: Tests trials/:experiment_name
docstr: Tests that it returns the trials of the latest version of the experiment
docstr_tok: ["Tests","that","it","returns","the","trials","of","the","latest","version","of","the","experiment"]
code: def test_trials_for_latest_version(self, client, ephemeral_storage):
      """Tests that it returns the trials of the latest version of the experiment"""
      storage = ephemeral_storage.storage
  
      add_experiment(storage, name="a", version=1, _id=1)
      add_experiment(storage, name="a", version=2, _id=2)
  
      add_trial(storage, experiment=1, id_override="00", value=10)
      add_trial(storage, experiment=2, id_override="01", value=10)
      add_trial(storage, experiment=1, id_override="02", value=11)
      add_trial(storage, experiment=2, id_override="03", value=12)
  
      response = client.simulate_get("/trials/a")
  
      assert response.status == "200 OK"
      assert response.json == [
          {"id": "49aeacec1eeaf290fd5fa84bf8f3874f"},
          {"id": "36b6bb34f0a01764e1793fe2d4de9078"},
      ]
  
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 TestTrialCollection obj's underlying member method code with example usage: obj.test_trials_for_latest_version(client, ephemeral_storage) without return types