@@ -159,13 +159,6 @@ def test_query_without_login_raises_http_401(self):
159159 else :
160160 raise
161161
162- # remove test as it is not supported on splunk 6.6+
163- # def test_server_info_without_login(self):
164- # service = self._create_unauthenticated_service()
165- # # Should succeed without AuthenticationError
166- # service.info['version']
167- #
168-
169162 def _create_unauthenticated_service (self ):
170163 return Service (** {
171164 'host' : self .opts .kwargs ['host' ],
@@ -179,13 +172,6 @@ def setUp(self):
179172 self .opts = testlib .parse ([], {}, ".splunkrc" )
180173 self .service = client .Service (** self .opts .kwargs )
181174
182- # remove these code as 6.2- is deprecated and splunk_version can't be got without login on splunk 6.6+
183- # # Skip these tests if running below Splunk 6.2, cookie-auth didn't exist before
184- # splver = self.service.splunk_version
185- # # TODO: Workaround the fact that skipTest is not defined by unittest2.TestCase
186- # if splver[:2] < (6, 2):
187- # self.skipTest("Skipping cookie-auth tests, running in %d.%d.%d, this feature was added in 6.2+" % splver)
188-
189175 if getattr (unittest .TestCase , 'assertIsNotNone' , None ) is None :
190176
191177 def assertIsNotNone (self , obj , msg = None ):
0 commit comments