aboutsummaryrefslogtreecommitdiffstats
path: root/baro_tests
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2017-06-08 16:02:22 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2017-06-13 01:38:38 +0000
commita1e0e91c4ee653b5fddf71ed0108075001ba517a (patch)
tree5eabb38d5cb244056a87c9c67a0c29f67dcc5ddd /baro_tests
parent477bc4fd49e4eb2481809cc99297eac02d0d6dbe (diff)
Move test caller from Functest to Barometer repo
The decision by Functest team is that 3rd party test cases should host the test in their respective repositories. Change-Id: Ibfd6dbc417fa797b96792a902797e610dab5b167 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'baro_tests')
-rw-r--r--baro_tests/barometer.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/baro_tests/barometer.py b/baro_tests/barometer.py
new file mode 100644
index 00000000..e210f333
--- /dev/null
+++ b/baro_tests/barometer.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env 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
+
+import logging
+
+from baro_tests import collectd
+
+import functest.core.feature as base
+
+
+class BarometerCollectd(base.Feature):
+ '''
+ Class for executing barometercollectd testcase.
+ '''
+
+ __logger = logging.getLogger(__name__)
+
+ def execute(self):
+ return collectd.main(self.__logger)