- 18 9月, 2018 1 次提交
-
-
由 Caio Carrara 提交于
Signed-off-by: NCaio Carrara <ccarrara@redhat.com>
-
- 15 5月, 2017 1 次提交
-
-
由 Lukáš Doktor 提交于
Currently we hardcode the "avocado.app" and "avocado.test" loggers everywhere in Avocado, let's use the newly defined `avocado.core.output.LOG_{UI,JOB}` variables everywhere in Avocado except of `avocado.utils`, which shouldn't have used this interface in the first place and will be subject of change in the future. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 06 9月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
Commit 88cd8261 moved the plugin interfaces to `avocado/core` under the name `plugin_interfaces.py`. The example plugins were not updated, so let's fix it now. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 26 4月, 2016 1 次提交
-
-
由 Cleber Rosa 提交于
These new plugin interfaces, to be registered under the 'avocado.plugins.job.prepost' namespace, allow for any custom action to be executed before and/or after the job execution. The JobPre plugin interface requires the `pre` method to be implemented, while the JobPost plugin interface requires the `post` method to be implemented. The separation of the interfaces allows for mandatory implementation of the given interfaces, which was the whole point of using Abstract base classes, instead of having empty default implementations. One single class may implement either one, or both of those interfaces. Both `pre` and `post` methods receive the current Job instance as an argument, which allows the plugin to fetch any job information or even to tweak as it may seem fit. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-