qat.core.assertion.assert_plugin

qat.core.assertion.assert_plugin(assertion: bool, message: str)

Checks an assertion and raise a PluginException if the assertion is not True

Parameters
  • assertion (bool) – raise an exception if False

  • message (str) – error message