From f9e16dc1539e6b44989ca7dc080c013b91d30d75 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Wed, 14 Dec 2016 16:45:05 -0700 Subject: [PATCH] test_email_addr() mock util.fetch_repos() Signed-off-by: Zack Cerza --- teuthology/suite/test/test_run_.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/suite/test/test_run_.py b/teuthology/suite/test/test_run_.py index b3b3db798e..86cc4d5d5f 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'] -- 2.39.5