2020-05-17 17:28:15 +02:00
|
|
|
from sweets import Sweets
|
|
|
|
|
|
|
|
|
2020-05-18 19:16:36 +02:00
|
|
|
def create_data_sweets():
|
2020-05-17 17:28:15 +02:00
|
|
|
allProducts = []
|
|
|
|
|
|
|
|
sweet = Sweets('Mars', 'czekoladowy', 'baton', 'sredni', 2.49)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Mars', 'czekoladowy', 'czekolada', 'duzy', 4.99)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Mars', 'czekoladowy', 'czekolada', 'ogromny', 11.26)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('M&M', 'czekoladowy', 'czekolada', 'duzy', 3.99)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('M&M', 'czekoladowy', 'baton', 'sredni', 2.89)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Nestle', 'bananowy', 'landrynka', 'maly', 0.39)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Nestle', 'truskawkowy', 'landrynka', 'maly', 0.39)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Nestle', 'cola', 'landrynka', 'maly', 0.49)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Wedel', 'czekoladowy', 'baton', 'sredni', 1.99)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
sweet = Sweets('Maoam', 'truskawkowy', 'guma', 'maly', 0.25)
|
|
|
|
allProducts.append(sweet)
|
|
|
|
|
2020-05-18 19:39:40 +02:00
|
|
|
return allProducts
|