def METHOD_NAME(self, send_build_status):
    self.project.repo = "https://github.com/test/test/"
    self.project.save()
    social_account = get(SocialAccount, user=self.eric, provider="gitlab")
    remote_repo = get(RemoteRepository)
    remote_repo.projects.add(self.project)
    get(
        RemoteRepositoryRelation,
        remote_repository=remote_repo,
        user=self.eric,
        account=social_account,
    )
    external_version = get(Version, project=self.project, type=EXTERNAL)
    external_build = get(Build, project=self.project, version=external_version)
    build_tasks.send_build_status(
        external_build.id, external_build.commit, BUILD_STATUS_SUCCESS
    )
    send_build_status.assert_called_once_with(
        external_build,
        external_build.commit,
        BUILD_STATUS_SUCCESS,
    )
    self.assertEqual(Message.objects.filter(user=self.eric).count(), 0)