class_docstr: Tests trials/:experiment_name
docstr: Tests specific version of experiment
docstr_tok: ["Tests","specific","version","of","experiment"]
code: def test_trials_for_specific_version(self, client, ephemeral_storage):
      """Tests specific version of experiment"""
      storage = ephemeral_storage.storage
  
      add_experiment(storage, name="a", version=1, _id=1)
      add_experiment(storage, name="a", version=2, _id=2)
      add_experiment(storage, name="a", version=3, _id=3)
  
      add_trial(storage, experiment=1, id_override="00")
      add_trial(storage, experiment=2, id_override="01")
      add_trial(storage, experiment=3, id_override="02")
  
      # Happy case
      response = client.simulate_get("/trials/a?version=2")
  
      assert response.status == "200 OK"
      assert response.json == [
          {"id": "49aeacec1eeaf290fd5fa84bf8f3874f"}
      ]
  
      # Version doesn't exist
      response = client.simulate_get("/trials/a?version=4")
  
      assert response.status == "404 Not Found"
      assert response.json == {
          "title": "Experiment not found",
          "description": 'Experiment "a" has no version "4"',
      }
  
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 4 for calling the TestTrialCollection obj's underlying member method code with example usage: obj.test_trials_for_specific_version(client, ephemeral_storage) without return types