This test is disabled,it does not actually test all that much about the API, it would...
authorSalim Fadhley <sal@stodge.org>
Sun, 30 Jun 2013 00:41:48 +0000 (01:41 +0100)
committerSalim Fadhley <sal@stodge.org>
Sun, 30 Jun 2013 00:41:48 +0000 (01:41 +0100)
jenkinsapi_tests/systests/test_scm.py

index 225c308..00ea8ef 100644 (file)
@@ -1,23 +1,18 @@
-'''
+'''
 System tests for `jenkinsapi.jenkins` module.
 '''
 import unittest
-from jenkinsapi.invocation import Invocation
 from jenkinsapi_tests.systests import state
 from jenkinsapi_tests.systests.base import BaseSystemTest
 from jenkinsapi_tests.test_utils.random_strings import random_string
 from jenkinsapi_tests.systests.job_configs import SCM_GIT_JOB
 
 # Maybe have a base class for all SCM test activites?
-class TestSCMGIT(BaseSystemTest):
+class TestSCMGit(BaseSystemTest):
     # Maybe it makes sense to move plugin dependencies outside the code.
     # Have a config to dependencies mapping from the launcher can use to install plugins.
-    PLUGIN_DEPENDENCIES = ["http://updates.jenkins-ci.org/latest/git.hpi",
-                           "http://updates.jenkins-ci.org/latest/git-client.hpi"]
-    
     def test_get_revision(self):
         job_name = 'create_%s' % random_string()
-        state['launcher'].install_plugin(self.PLUGIN_DEPENDENCIES)
         job = self.jenkins.create_job(job_name, SCM_GIT_JOB)
         ii = job.invoke()
         ii.block(until='completed')