Move test caller from Functest to Barometer repo
[barometer.git] / baro_tests / barometer.py
1 #!/usr/bin/env 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 import logging
10
11 from baro_tests import collectd
12
13 import functest.core.feature as base
14
15
16 class BarometerCollectd(base.Feature):
17     '''
18     Class for executing barometercollectd testcase.
19     '''
20
21     __logger = logging.getLogger(__name__)
22
23     def execute(self):
24         return collectd.main(self.__logger)