diff options
author | zhangyangyang <zhangyangyang@unionpay.com> | 2017-09-13 17:22:48 +0800 |
---|---|---|
committer | zhangyangyang <zhangyangyang@unionpay.com> | 2017-09-13 17:24:13 +0800 |
commit | 8744b5b1a501fafe05f32ce1a2bcadda5d0025f6 (patch) | |
tree | 0656ee18fe84c0187c7ef71872d0235bab301627 /tests/jenkins_manager | |
parent | b58f6b17de4750c2408e6e8f9d6778f4e3bc289d (diff) | |
download | python-jenkins-job-builder-8744b5b1a501fafe05f32ce1a2bcadda5d0025f6.tar.gz python-jenkins-job-builder-8744b5b1a501fafe05f32ce1a2bcadda5d0025f6.tar.xz python-jenkins-job-builder-8744b5b1a501fafe05f32ce1a2bcadda5d0025f6.zip |
change assert(Not)Equals to assert(Not)Equal
According to http://docs.python.org/2/library/unittest.html
assert(Not)Equals is a deprecated alias of assert(Not)Equal.
Change-Id: Ibadf2b2c6cb09db6f5cc191240aad2ac8cb4ea33
Closes-Bug: #1329757
Diffstat (limited to 'tests/jenkins_manager')
-rw-r--r-- | tests/jenkins_manager/test_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jenkins_manager/test_manager.py b/tests/jenkins_manager/test_manager.py index 6a8edb25..a1738329 100644 --- a/tests/jenkins_manager/test_manager.py +++ b/tests/jenkins_manager/test_manager.py @@ -67,7 +67,7 @@ class TestCaseTestJenkinsManager(base.BaseTestCase): patches['is_managed'].side_effect = [True, True] self.builder.delete_old_managed() - self.assertEquals(patches['delete_job'].call_count, 2) + self.assertEqual(patches['delete_job'].call_count, 2) def _get_plugins_info_error_test(self, error_string): builder = jenkins_jobs.builder.JenkinsManager(self.jjb_config) |