|
@@ -35,6 +35,10 @@ def get_item_b():
|
|
def get_article():
|
|
def get_article():
|
|
return dingguo.Article(
|
|
return dingguo.Article(
|
|
authors = ['a', 'b'],
|
|
authors = ['a', 'b'],
|
|
|
|
+ depth = dingguo.ScalarFigure(12.3, u'dm'),
|
|
|
|
+ features = u'supergeil',
|
|
|
|
+ height = dingguo.ScalarFigure(123., u'cm'),
|
|
|
|
+ maximum_load = dingguo.ScalarFigure(40., u'kg'),
|
|
name = u'article name',
|
|
name = u'article name',
|
|
price_brutto = get_sum_a(),
|
|
price_brutto = get_sum_a(),
|
|
product_id = u'0815',
|
|
product_id = u'0815',
|
|
@@ -43,9 +47,6 @@ def get_article():
|
|
shipper = u'shipper',
|
|
shipper = u'shipper',
|
|
state = u'goood',
|
|
state = u'goood',
|
|
width = dingguo.ScalarFigure(1.23, u'm'),
|
|
width = dingguo.ScalarFigure(1.23, u'm'),
|
|
- depth = dingguo.ScalarFigure(12.3, u'dm'),
|
|
|
|
- height = dingguo.ScalarFigure(123., u'cm'),
|
|
|
|
- maximum_load = dingguo.ScalarFigure(40., u'kg'),
|
|
|
|
)
|
|
)
|
|
|
|
|
|
def get_transportation():
|
|
def get_transportation():
|
|
@@ -284,6 +285,7 @@ authors:
|
|
- b
|
|
- b
|
|
delivery_date: null
|
|
delivery_date: null
|
|
depth: !scalar '12.3 dm'
|
|
depth: !scalar '12.3 dm'
|
|
|
|
+features: supergeil
|
|
height: !scalar '123.0 cm'
|
|
height: !scalar '123.0 cm'
|
|
maximum_load: !scalar '40.0 kg'
|
|
maximum_load: !scalar '40.0 kg'
|
|
name: article name
|
|
name: article name
|
|
@@ -302,6 +304,7 @@ authors:
|
|
- a
|
|
- a
|
|
- b
|
|
- b
|
|
delivery_date: null
|
|
delivery_date: null
|
|
|
|
+features: supergeil
|
|
name: article name
|
|
name: article name
|
|
price_brutto: !sum '1.23 EUR'
|
|
price_brutto: !sum '1.23 EUR'
|
|
product_id: 0815
|
|
product_id: 0815
|