aboutsummaryrefslogtreecommitdiffstats
path: root/baro_tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'baro_tests/tests.py')
-rw-r--r--baro_tests/tests.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/baro_tests/tests.py b/baro_tests/tests.py
index 02eca90a..bd49583d 100644
--- a/baro_tests/tests.py
+++ b/baro_tests/tests.py
@@ -270,3 +270,15 @@ def test_csv_handles_plugin_data(
logger.info('OK')
return True
+
+
+def test_localagent_server_set_collectd(compute, file, logger, client):
+ with open(file, mode='w') as f:
+ f.write('# dummy conf\n')
+ res = client.set(file)
+ if res:
+ logger.info('set collectd PASS')
+ else:
+ logger.error('set collectd FAIL')
+
+ return res