From: Zack Cerza Date: Wed, 14 Dec 2016 23:45:05 +0000 (-0700) Subject: test_email_addr() mock util.fetch_repos() X-Git-Tag: 1.1.0~481^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f9e16dc1539e6b44989ca7dc080c013b91d30d75;p=teuthology.git test_email_addr() mock util.fetch_repos() Signed-off-by: Zack Cerza --- diff --git a/teuthology/suite/test/test_run_.py b/teuthology/suite/test/test_run_.py index b3b3db798..86cc4d5d5 100644 --- a/teuthology/suite/test/test_run_.py +++ b/teuthology/suite/test/test_run_.py @@ -33,11 +33,12 @@ class TestRun(object): ) self.args = YamlConfig.from_dict(self.args_dict) + @patch('teuthology.suite.run.util.fetch_repos') @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): + m_git_ls_remote, m_fetch_repos): # 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']