fdcd380393c38b24bec60699748d07d4661f52dc
[functest.git] / functest / opnfv_tests / features / barometer.py
1 #!/usr/bin/python
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8
9 from baro_tests import collectd
10
11 import functest.core.feature as base
12
13
14 class BarometerCollectd(base.FeatureBase):
15     '''
16     Class for executing barometercollectd testcase.
17     '''
18
19     def __init__(self):
20         super(BarometerCollectd, self).__init__(project='barometer',
21                                                 case='barometercollectd',
22                                                 repo='dir_repo_barometer')
23
24     def execute(self):
25         return collectd.main(self.logger)