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 2017-06-15 23:41:19 -04:00 committed by Paulus Schoutsen
parent a3a702b269
commit c478f2c7d0
2 changed files with 7 additions and 1 deletions

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',