"""
Shared pytest fixtures for example_app tests.

Only fixtures that are used by multiple test files belong here.
"""

import pytest


@pytest.fixture
def user1(db):
    from topdownrbac.models import UserSubject

    return UserSubject.objects.create_user(username="user1", password="pass")


@pytest.fixture
def user2(db):
    from topdownrbac.models import UserSubject

    return UserSubject.objects.create_user(username="user2", password="pass")
