<commit_before># -*- coding: utf-8 -*-

"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2016 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from byceps.services.seating.models.seat_group import SeatGroup


def create_seat_group(party_id, seat_category, title, *, seat_quantity=4):
    return SeatGroup(party_id, seat_category, seat_quantity, title)<commit_msg>Add function to create a seat category test fixture<commit_after># -*- coding: utf-8 -*-

"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2016 <NAME>
:License: Modified BSD, see LICENSE for details.
"""

from byceps.services.seating.models.category import Category
from byceps.services.seating.models.seat_group import SeatGroup


def create_seat_category(party_id, title):
    return SeatCategory(party_id, title)


def create_seat_group(party_id, seat_category, title, *, seat_quantity=4):
    return SeatGroup(party_id, seat_category, seat_quantity, title)
{'fraction_non_alphanumeric': 0.14818652849740932, 'fraction_numerical': 0.02072538860103627, 'mean_word_length': 6.0510948905109485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6165992', 'n_tokens_mistral': 327, 'n_tokens_neox': 295, 'n_words': 73}