[ansible][fedora] Update package name
[barometer.git] / baro_tests / barometer.py
1 #!/usr/bin/env python
2 #
3 # Copyright 2017 OPNFV
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10
11 import logging
12
13 from baro_tests import collectd
14
15 from xtesting.core import feature
16
17
18 class BarometerCollectd(feature.Feature):
19     '''
20     Class for executing barometercollectd testcase.
21     '''
22
23     __logger = logging.getLogger(__name__)
24
25     def execute(self):
26         return collectd.main(self.__logger)