def METHOD_NAME(distgit_and_remote):
    distgit, _ = distgit_and_remote
    b = PackitRepositoryBase(
        config=Config(),
        package_config=PackageConfig(packages={"package": CommonPackageConfig()}),
    )
    b.local_project = LocalProjectBuilder().build(
        working_dir=distgit, git_url="https://github.com/packit/lol"
    )
    flexmock(LocalProject).should_receive("git_repo").and_return(
        flexmock()
        .should_receive("remote")
        .and_return(
            flexmock(
                push=lambda *args, **kwargs: [
                    PushInfo(PushInfo.FAST_FORWARD, None, None, None, None)
                ]
            )
        )
        .mock()
    )
    b.push("master")