1.1.3.1.2. test_automation.targets.registry

1.1.3.1.2.1. Attributes

logger

PLATFORM_REGISTRY

1.1.3.1.2.2. Classes

DriverBundle

Container for a platform instance.

1.1.3.1.2.3. Functions

register_platform(kind)

Decorator to register a factory for platform under the given kind.

get_factory(kind)

Fetch a registered platform factory by kind.

1.1.3.1.2.4. Module Contents

test_automation.targets.registry.logger[source]
test_automation.targets.registry.PLATFORM_REGISTRY[source]
test_automation.targets.registry.register_platform(kind)[source]

Decorator to register a factory for platform under the given kind.

Parameters:

kind – Platform kind (e.g., "fvp", "fpga").

Returns:

Decorator that registers the factory and returns it unchanged.

test_automation.targets.registry.get_factory(kind)[source]

Fetch a registered platform factory by kind.

Parameters:

kind – Platform kind (case-insensitive).

Returns:

Registered factory callable, or None if not found.

class test_automation.targets.registry.DriverBundle(driver, manager=None, login_primary=None, export_env=None)[source]

Container for a platform instance.

Parameters:
  • driver – Platform driver instance with start(), wait_ready(), stop() (and optionally init()).

  • manager – Optional session/console manager (e.g., telnet, ssh, serial).

  • login_primary – Optional callable for logging into the primary.

  • export_env – Optional callable for exporting environment variables.

Variables:
  • driver – Platform driver instance.

  • manager – Session/console manager object.

  • login_primary – Callable for primary console login.

  • export_env – Callable for exporting environment variables.

driver[source]
manager = None[source]
login_primary = None[source]
export_env = None[source]