class_docstr: Unit-test base class.
class_docstr_tok: ["Unit-test","base","class","."]
code: def environment_spec(self, states=None, actions=None):
      if states is None:
          states = deepcopy(self.__class__.states)
  
      if actions is None:
          actions = deepcopy(self.__class__.actions)
  
      return dict(
          environment=UnittestEnvironment,
          max_episode_timesteps=self.__class__.max_episode_timesteps,
          states=states,
          actions=actions,
          min_timesteps=self.__class__.min_timesteps,
      )
  
file_path: tensorforce/test/unittest_base.py
imports: from copy import deepcopy
  from datetime import datetime
  import sys
  from tensorforce import Agent, Environment, Runner
  from test.unittest_environment import UnittestEnvironment
label_desc: Use image node_id 3 for calling the UnittestBase obj's underlying member method code with example usage: obj.environment_spec(states, actions) and returns: dict