import pytest

from django.contrib.auth.models import User


@pytest.mark.django_db
def test_create_user():
    User.objects.create_user(username='test', password='<PASSWORD>')
    assert User.objects.count() == 1

import pytest

from django.contrib.auth.models import User


@pytest.mark.django_db
def test_create_user():
    User.objects.create_user(username='test', password='<PASSWORD>')
    assert User.objects.count() == 1
