From: Zack Cerza Date: Wed, 14 Sep 2016 16:13:48 +0000 (-0600) Subject: Linter fixes X-Git-Tag: 1.1.0~535^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0e804f9d20f57103876ed15563046d8daf8251f5;p=teuthology.git Linter fixes --- diff --git a/teuthology/suite/test/test_run_.py b/teuthology/suite/test/test_run_.py index d9898de22..1bec9ae1a 100644 --- a/teuthology/suite/test/test_run_.py +++ b/teuthology/suite/test/test_run_.py @@ -34,7 +34,8 @@ class TestRun(object): @patch('teuthology.suite.run.util.git_ls_remote') @patch('teuthology.suite.run.Run.choose_ceph_version') @patch('teuthology.suite.run.util.git_validate_sha1') - def test_email_addr(self, m_git_validate_sha1, m_choose_ceph_version, m_git_ls_remote): + def test_email_addr(self, m_git_validate_sha1, m_choose_ceph_version, + m_git_ls_remote): # neuter choose_X_branch m_git_validate_sha1.return_value = self.args_dict['ceph_sha1'] m_choose_ceph_version.return_value = self.args_dict['ceph_sha1'] @@ -240,9 +241,9 @@ class TestScheduleSuite(object): ) frags = (frag1_read_output, frag2_read_output) expected_job = dict( - yaml = yaml.load('\n'.join(frags)), - sha1 = 'ceph_sha1', - args = [ + yaml=yaml.load('\n'.join(frags)), + sha1='ceph_sha1', + args=[ '--description', os.path.join(self.args.suite, build_matrix_desc), '--', @@ -257,7 +258,6 @@ class TestScheduleSuite(object): [call([], [expected_job], runobj.name)], ) - @patch('teuthology.suite.util.find_git_parent') @patch('teuthology.suite.run.Run.schedule_jobs') @patch('teuthology.suite.util.has_packages_for_distro')