~homeworkprod/byceps

ref: a3214d27456b4060727966ca1ad520a92edaa6b2 byceps/testfixtures/seating.py -rw-r--r-- 363 bytes
a3214d27 — Jochen Kupperschmidt Make tourney avatar path depend on party path, but non-configurable besides that 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
testfixtures.seating
~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.
"""

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


def create_seat_group(party_id, ticket_category_id, title, *, seat_quantity=4):
    return SeatGroup(party_id, ticket_category_id, seat_quantity, title)