# Path: pyuploadcare/api/entities.py
# class ProjectInfo(Entity):
#     collaborators: Optional[List[ColaboratorInfo]]
#     name: str
#     pub_key: str
#     autostore_enabled: Optional[bool]


import pytest
from pyuploadcare.api.entities import ProjectInfo



@pytest.mark.vcr
def test_get_project_info(uploadcare):
    project_info = uploadcare.project_api.retrieve()

# Path: pyuploadcare/api/entities.py
# class ProjectInfo(Entity):
#     collaborators: Optional[List[ColaboratorInfo]]
#     name: str
#     pub_key: str
#     autostore_enabled: Optional[bool]


# Path: tests/functional/api/test_project_api.py
import pytest
from pyuploadcare.api.entities import ProjectInfo




@pytest.mark.vcr
def test_get_project_info(uploadcare):
    project_info = uploadcare.project_api.retrieve()

    assert isinstance(project_info, ProjectInfo)