human
Complete the below
@pytest.fixture
def api_client_inject_project_id():

    ''''Patches all googleapiclient requests to replace \'YOUR_PROJECT_ID\' with
    the project ID.'
    '''
assistant
#Here is the Python program you requested.
    import googleapiclient.http
    old_execute = googleapiclient.http.HttpRequest.execute
    def new_execute(self, http=None, num_retries=0):
        self.uri = self.uri.replace('YOUR_PROJECT_ID', PROJECT)
        return old_execute(self, http=http, num_retries=num_retries)
    with mock.patch('googleapiclient.http.HttpRequest.execute', new=new_execute):
        (yield)