# -*- coding: utf-8 -*-

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

:Copyright: 2006-2016 Jochen Kupperschmidt
: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)

# -*- coding: utf-8 -*-

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

:Copyright: 2006-2016 Jochen Kupperschmidt
: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)

Add function to create a seat category test fixture
Add function to create a seat category test fixture
