Example #1
0
def wine_semi_sweet(country_old, grape):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine Semi Sweet",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.SEMI_SWEET,
        country=country_old,
        grape=grape,
    )
Example #2
0
def wine_2(country_new, grape_2):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine 2",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.SWEET,
        country=country_new,
        grape=grape_2,
    )
Example #3
0
def wine(country_old, grape):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.SWEET,
        country=country_old,
        grape=grape,
    )
Example #4
0
def wine_country_ex_ussr(country_ex_ussr, grape):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine Country Ex Ussr",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.DRY,
        country=country_ex_ussr,
        grape=grape,
    )
Example #5
0
def wine_country_new(country_new, grape):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine Country New",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.DRY,
        country=country_new,
        grape=grape,
    )
Example #6
0
def wine_dry(country_old, grape):
    return entities.Wine(
        id=entities.new_id(),
        name="Wine Dry",
        color=entities.Wine.Color.RED,
        sugar=entities.Wine.Sugar.DRY,
        country=country_old,
        grape=grape,
    )