Skip to content

Commit c94f3bc

Browse files
author
Frederick Ross
committed
Fix an error in getting .splunkrc values in the test suite.
1 parent 89012df commit c94f3bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_service.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ def test_server_info_without_login(self):
132132

133133
def _create_unauthenticated_service(self):
134134
return Service(**{
135-
'host': self.opts.get('host', 'localhost'),
136-
'port': self.opts.get('port', 8089),
137-
'scheme': self.opts.get('scheme', 'https')
135+
'host': self.opts.kwargs['host'],
136+
'port': self.opts.kwargs['port'],
137+
'scheme': self.opts.kwargs['scheme']
138138
})
139139

140140
class TestSettings(testlib.SDKTestCase):

0 commit comments

Comments
 (0)