@pytest.fixture
def income(user):
    '\n    Main category of income type\n    '
    category = Category.objects.create(name='income', type_category=INCOME, user=user)
    return category
Main category of income type
@pytest.fixture
def income(user):
    '\n    \n    '
    category = Category.objects.create(name='income', type_category=INCOME, user=user)
    return category