summaryrefslogtreecommitdiffstats
path: root/api/resources/__init__.py
blob: e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 (plain)

.vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
#!/usr/bin/python
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

from baro_tests import collectd

import functest.core.feature as base


class BarometerCollectd(base.Feature):
    '''
    Class for executing barometercollectd testcase.
    '''

    def __init__(self, **kwargs):
        super(BarometerCollectd, self).__init__(**kwargs)

    def execute(self):
        return collectd.main(self.logger)