code: def test_returns_40x_if_not_authenticated(self):
      response = client.post("/api/projects/test_project/get")
      assert response.status_code in [401, 403]
  
imports: import json
  from unittest.mock import patch
  from uuid import UUID
  import pytest
  from fastapi.testclient import TestClient
  from sqlalchemy import select
  from sqlalchemy.ext.asyncio import AsyncSession
  from dstack._internal.core.models.users import GlobalRole, ProjectRole
  from dstack._internal.server.main import app
  from dstack._internal.server.models import MemberModel, ProjectModel
  from dstack._internal.server.services.projects import add_project_member
  from dstack._internal.server.testing.common import create_backend, create_project, create_user, get_auth_headers
label_desc: Use image node_id 1 for calling the TestSetProjectMembers obj's underlying member method code with example usage: obj.test_returns_40x_if_not_authenticated() without return types