Esempio n. 1
0
  def subsystems(cls):
    """Initialize these subsystems when running your test.

    If your test instantiates a target type that depends on any subsystems, those subsystems need to
    be initialized in your test. You can override this property to return the necessary subsystem
    classes.

    :rtype: list of type objects, all subclasses of Subsystem
    """
    return Target.subsystems()
Esempio n. 2
0
    def subsystems(cls):
        """Initialize these subsystems when running your test.

    If your test instantiates a target type that depends on any subsystems, those subsystems need to
    be initialized in your test. You can override this property to return the necessary subsystem
    classes.

    :rtype: list of type objects, all subclasses of Subsystem
    """
        return Target.subsystems()
Esempio n. 3
0
 def _init_target_subsystem(self):
   if not self._inited_target:
     subsystem_util.init_subsystems(Target.subsystems())
     self._inited_target = True
Esempio n. 4
0
 def _init_target_subsystem(self):
   if not self._inited_target:
     subsystem_util.init_subsystems(Target.subsystems())
     self._inited_target = True