Added host variable to Splunk.py and updated tox tests (#8052)

* Added host variable to Splunk.py and updated tox tests

* Update splunk.py

* Update splunk.py
This commit is contained in:
boojew authored and Paulus Schoutsen committed 2017-06-15 20:41:19 -07:00
1 parent a3a702b269
commit c478f2c7d0
2 files changed
+7 -1

No files matched your search

+2
View File
@@ -28,6 +28,7 @@ class TestSplunk(unittest.TestCase):
'port': 123,
'token': 'secret',
'ssl': 'False',
'name': 'hostname',
}
}
@@ -96,6 +97,7 @@ class TestSplunk(unittest.TestCase):
'attributes': {},
'time': '12345',
'value': out,
'host': 'HASS',
}]
payload = {'host': 'http://host:8088/services/collector/event',