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