def normal_user_client(mutable_client: R2RClient):
    """Create a normal user and log in with that user."""
    # client = R2RClient(config.base_url)

    email = f"normal_{uuid.uuid4()}@test.com"
    password = "normal_password"
    user_resp = mutable_client.users.create(email, password)
    mutable_client.users.login(email, password)

    yield mutable_client

    # Cleanup: Try deleting the normal user if exists
    try:
        mutable_client.users.login(email, password)
        mutable_client.users.delete(id=mutable_client.users.me().results.id,
                                    password=password)
    except R2RException:
        pass
Create a normal user and log in with that user.
py/tests/integration/test_collections_users_interaction.py