Management

This package contains tests of the integreat_cms.core.management module

Utils

tests.core.management.utils.get_command_output(command: str, *args: str, **kwargs: Any) tuple[str, str][source]

Call a management command and return its output

Parameters:
  • command (str) – The command that is being invoked

  • *args (str) – The supplied arguments

  • **kwargs (Any) – The supplied kwargs

Returns:

The stdout and stderr IO streams

Return type:

tuple[str, str]