code: def environment():
      raw_env = RawEnvironment()
      workspace = raw_env.workspace_name
      admin_token = raw_env.admin_neptune_api_token
      user = raw_env.user_username
      service_account_name = raw_env.service_account_name
  
      project_name = a_project_name(project_slug=fake.slug())
      project_identifier = normalize_project_name(
          name=project_name, workspace=workspace
      )
  
      created_project_identifier = create_project(
          name=project_name,
          visibility="priv",
          workspace=workspace,
          api_token=admin_token,
      )
  
      time.sleep(10)
  
      add_project_member(
          project=created_project_identifier,
          username=user,
          role="contributor",
          api_token=admin_token,
      )
  
      add_project_service_account(
          project=created_project_identifier,
          service_account_name=service_account_name,
          role="contributor",
          api_token=admin_token,
      )
  
      yield Environment(
          workspace=workspace,
          project=project_identifier,
          user_token=raw_env.neptune_api_token,
          admin_token=admin_token,
          admin=raw_env.admin_username,
          user=user,
          service_account=raw_env.service_account_name,
      )
  
      project = init_project(
          project=created_project_identifier, api_token=admin_token
      )
      project["finished"] = datetime.now()
      project.stop()
  
file_path: neptune-client/tests/e2e/conftest.py
imports: import os
  import time
  import uuid
  from datetime import datetime
  import pytest
  from faker import Faker
  from git import Repo
  from neptune import init_project
  from neptune.internal.utils.s3 import get_boto_s3_client
  from neptune.management import add_project_member, add_project_service_account, create_project
  from neptune.management.internal.utils import normalize_project_name
  from tests.e2e.utils import Environment, RawEnvironment, a_project_name, initialize_container
label_desc: Use image node_id 1 for calling a global function with example usage: environment() without return types