File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -177,12 +177,12 @@ def setUp(self):
177177 self .opts = testlib .parse ([], {}, ".splunkrc" )
178178 self .service = client .Service (** self .opts .kwargs )
179179
180- self . service . login ();
181- # Skip these tests if running below Splunk 6.2, cookie-auth didn't exist before
182- splver = self .service .splunk_version
183- # TODO: Workaround the fact that skipTest is not defined by unittest2.TestCase
184- if splver [:2 ] < (6 , 2 ):
185- self .skipTest ("Skipping cookie-auth tests, running in %d.%d.%d, this feature was added in 6.2+" % splver )
180+ # remove these code as 6.2- is deprecated and splunk_version can't be got without login on splunk 6.6+
181+ # # Skip these tests if running below Splunk 6.2, cookie-auth didn't exist before
182+ # splver = self.service.splunk_version
183+ # # TODO: Workaround the fact that skipTest is not defined by unittest2.TestCase
184+ # if splver[:2] < (6, 2):
185+ # self.skipTest("Skipping cookie-auth tests, running in %d.%d.%d, this feature was added in 6.2+" % splver)
186186
187187 if getattr (unittest .TestCase , 'assertIsNotNone' , None ) is None :
188188
You can’t perform that action at this time.
0 commit comments