@pytest.fixture
def db_user():
    user_data = {'email': 'example@example.com', 'password': 'testpass123', 'first_name': 'Jack', 'last_name': 'Programmer'}
    return get_user_model().objects.create_user(**user_data)
@pytest.fixture
def db_user():
    user_data = {'email': 'example@example.com', 'password': 'testpass123', 'first_name': 'Jack', 'last_name': 'Programmer'}
    return get_user_model().objects.create_user(**user_data)