code: def test_grid_search_limit():
      trials = strategies.generate_trials(
          GRID_SEARCH, FLAT_PARAMS, nb_trials=5
      )
      assert len(trials) == 5
  
imports: import pytest
  from test_tube.hyper_opt_utils import strategies
label_desc: Use image node_id 3 for calling a global function with example usage: test_grid_search_limit() without return types