From: Salim Fadhley Date: Sun, 30 Jun 2013 00:41:48 +0000 (+0100) Subject: This test is disabled,it does not actually test all that much about the API, it would... X-Git-Tag: v0.2.23~117^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7def9ed6e92580f37d00e4980c36c4d36e68f702;p=tools%2Fpython-jenkinsapi.git This test is disabled,it does not actually test all that much about the API, it would be better done as a unittest. --- diff --git a/jenkinsapi_tests/systests/test_scm.py b/jenkinsapi_tests/systests/test_scm.py index 225c308..00ea8ef 100644 --- a/jenkinsapi_tests/systests/test_scm.py +++ b/jenkinsapi_tests/systests/test_scm.py @@ -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')