async def METHOD_NAME(
    client: TestClient,
    user_id: UserID,
    project_uuid: ProjectID,
    redis_locks_client: aioredis.Redis,
    faker: Faker,
):
    assert client.app
    user_name: UserNameDict = {
        "first_name": faker.first_name(),
        "last_name": faker.last_name(),
    }
    with pytest.raises(ValueError):
        async with lock_project(
            app=client.app,
            project_uuid=project_uuid,
            status=ProjectStatus.EXPORTING,
            user_id=user_id,
            user_name=user_name,
        ):
            # here we have the project locked
            redis_value = await redis_locks_client.get(
                PROJECT_REDIS_LOCK_KEY.format(project_uuid)
            )
            assert redis_value
            # now raising an exception
            raise ValueError("pytest exception")
    # now the lock shall be released
    redis_value = await redis_locks_client.get(
        PROJECT_REDIS_LOCK_KEY.format(project_uuid)
    )
    assert not redis_value