File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def test_server_info_without_login(self):
163163 service = self ._create_unauthenticated_service ()
164164 # Should succeed without AuthenticationError
165165 service .info ['version' ]
166-
166+
167167 def _create_unauthenticated_service (self ):
168168 return Service (** {
169169 'host' : self .opts .kwargs ['host' ],
@@ -177,6 +177,7 @@ def setUp(self):
177177 self .opts = testlib .parse ([], {}, ".splunkrc" )
178178 self .service = client .Service (** self .opts .kwargs )
179179
180+ self .service .login ();
180181 # Skip these tests if running below Splunk 6.2, cookie-auth didn't exist before
181182 splver = self .service .splunk_version
182183 # TODO: Workaround the fact that skipTest is not defined by unittest2.TestCase
You can’t perform that action at this time.
0 commit comments