Testing the Sleep PluginΒΆ

The Sleep plugin inherits from the BasePlugin and so takes two parameters on instantiation:

  • configuration (a configuration map to get config-file values from)
  • section_header (the section name that has values for the plugin)

The section parameter section_header was added so that more than one configuration of each plugin can be used. Since the operator is passing this in to all the plugins it can be assumed that it will always exist (in the current implementation of the ape).

TestingSleepPlugin.test_constructor
TestingSleepPlugin.test_product

Navigation