MatrixTest.Utils

MatrixTest.Utils.default_parser(stdout: str)str[source]

This is the default parser function that can be used to instantiate MatrixTestRunner. This function basically do nothing and return what is input.

Parameters

stdout – Text from stdout.

Returns

Same as input.

MatrixTest.Utils.removeprefix(long: str, prefix: str)str[source]

Simply remove the prefix from a string.

Parameters
  • long – The basic string from where this function will remove the prefix.

  • prefix – The prefix to be removed.

Returns

The result string without prefix.