def METHOD_NAME(self, sync_bb, sync_gl, sync_gh):
    sync_gh.side_effect = SyncServiceError
    sync_bb.side_effect = SyncServiceError
    r = sync_remote_repositories(self.user.pk)
    self.assertIn("GitHub", r["error"])
    self.assertIn("Bitbucket", r["error"])
    self.assertNotIn("GitLab", r["error"])
    sync_bb.assert_called_once()
    sync_gl.assert_called_once()
    sync_gh.assert_called_once()