<gh_stars>0
import pytest
from django.contrib.auth import get_user_model
from django.test import Client


@pytest.fixture
def client():
    return Client()


@pytest.fixture
def admin_user():
    return get_user_model().objects.create_superuser(
        email="<EMAIL>",
        password="<PASSWORD>"
    )


@pytest.fixture
def regular_user():
    return get_user_model().objects.create_user(
        email="<EMAIL>",
        password="<PASSWORD>",
        first_name="Johnny",
        last_name="User"
    )

import pytest
from django.contrib.auth import get_user_model
from django.test import Client


@pytest.fixture
def client():
    return Client()


@pytest.fixture
def admin_user():
    return get_user_model().objects.create_superuser(
        email="<EMAIL>",
        password="<PASSWORD>"
    )


@pytest.fixture
def regular_user():
    return get_user_model().objects.create_user(
        email="<EMAIL>",
        password="<PASSWORD>",
        first_name="Johnny",
        last_name="User"
    )