File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 2626
2727class ServiceTestCase (testlib .SDKTestCase ):
2828 def test_autologin (self ):
29- service = client .connect (autologin = True , ** self .opts .kwargs )
29+ self .assertTrue (self .opts .kwargs .get ("autologin" ))
30+ service = client .connect (** self .opts .kwargs )
3031 self .service .restart (timeout = 120 )
3132 reader = service .jobs .oneshot ("search index=internal | head 1" )
3233 self .assertIsNotNone (reader )
Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ def restartSplunk(self, timeout=240):
233233 @classmethod
234234 def setUpClass (cls ):
235235 cls .opts = parse ([], {}, ".env" )
236- cls .opts .kwargs .update ({"retries" : 3 })
236+ cls .opts .kwargs .update ({"retries" : 3 , "autologin" : True })
237237 # Before we start, make sure splunk doesn't need a restart.
238238 service = client .connect (** cls .opts .kwargs )
239239 if service .restart_required :
You can’t perform that action at this time.
0 commit comments