Skip to content

Commit caa40bf

Browse files
author
Fred Ross
committed
Add printout of .splunkrc values to test setup.
1 parent 906c581 commit caa40bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/testlib.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,8 @@ def restartSplunk(self, timeout=120):
230230
def setUpClass(cls):
231231
cls.opts = parse([], {}, ".splunkrc")
232232

233+
import pprint; pprint.pprint(cls.opts)
234+
233235
# Before we start, make sure splunk doesn't need a restart.
234236
service = client.connect(**cls.opts.kwargs)
235237
if service.restart_required:
@@ -253,4 +255,4 @@ def tearDown(self):
253255
self.service.apps.delete(appName)
254256
wait(lambda: appName not in self.service.apps)
255257
if self.service.restart_required:
256-
self.clear_restart_message()
258+
self.clear_restart_message()

0 commit comments

Comments
 (0)