docstr: Test complete run
docstr_tok: ["Test","complete","run"]
code: def test_no_ftol(self, optimizer):
      """Test complete run"""
      optm, params = optimizer
      opt = optm(**params)
      opt.optimize(objective_function, iters=iterations, **kwargs)
      assert len(opt.cost_history) == iterations
  
file_path: pyswarms/tests/optimizers/test_tolerance.py
imports: import pytest
  import random
  import numpy
  from pyswarms.backend.topology import Star
  from pyswarms.single import GlobalBestPSO, LocalBestPSO, GeneralOptimizerPSO
label_desc: Use image node_id 2 for calling the TestToleranceOptions obj's underlying member method code with example usage: obj.test_no_ftol(optimizer) without return types