def METHOD_NAME(repo_git):
    with patch(
        "pontoon.sync.vcs.repositories.update_from_vcs"
    ) as m_update_from_vcs, patch(
        "pontoon.sync.vcs.repositories.get_revision"
    ) as m_get_revision:
        repo_git.url = "https://example.com"
        m_get_revision.return_value = "asdf"
        assert repo_git.pull() == {"single_locale": "asdf"}
        assert m_update_from_vcs.call_args[0] == (
            "git",
            "https://example.com",
            repo_git.checkout_path,
            "",
        )