Searched refs:popen_mock (Results 1 – 1 of 1) sorted by relevance
40 def testCloneRepoSucceedsWhenGitSucceeds(self, popen_mock): argument41 popen_mock.side_effect = MakeMockPopen(return_code=0)46 popen_mock.assert_called_with(51 def testCloneRepoFailsWhenGitFails(self, popen_mock): argument52 popen_mock.side_effect = MakeMockPopen(return_code=1)