def METHOD_NAME(self):
    bzr = sources.Bazaar(self.working_tree, self.source_dir, silent=True)
    bzr.pull()
    source_details = bzr._get_source_details()
    self.assertThat(source_details["source-commit"], Equals("mock-commit"))
    self.fake_check_output.mock.assert_has_calls(
        [
            mock.call(["bzr", "revno", self.source_dir]),
            mock.call(["bzr", "revno", self.source_dir]),
        ]
    )
    self.fake_check_call.mock.assert_called_once_with(
        ["bzr", "pull", self.working_tree, "-d", self.source_dir],
        stderr=-3,
        stdout=-3,
    )