code: def test_str():
      criteria = Timed(duration=8)
      assert str(criteria) == "<Timed: duration=8>"
  
imports: import unittest.mock
  from tensortrade.oms.orders.criteria import Timed
label_desc: Use image node_id 3 for calling a global function with example usage: test_str() without return types