Fred Z
1c17468fb2
Generates dict with prod & fields #4
...
- Modifies the storage of kept fields : need to keep more fields from a category
than from a product FIELD_KEPT is turned into a dict like this :
{'category':[fields, …], 'products':[fields, …]}
- separates online/offline tests
2018-07-31 15:28:56 +02:00
Fred Z
08f1227c01
Adds optionnal local file work for get_category()
2018-07-30 08:13:36 +02:00
Fred Z
cff82380b8
Exports config in a new file 'config.py'
2018-07-27 22:27:42 +02:00
Fred Z
1c3ca10bbc
Adds 'get_category()' function with doctests #4
2018-07-26 15:42:57 +02:00
Fred Z
9757078975
Adds 'code' field & renames product variables #4
2018-07-26 00:20:33 +02:00
Fred Z
82bc0f2c32
Updates get_product() to pass tests #4
2018-07-25 23:24:35 +02:00
Fred Z
2af8ad4a97
Adds get_product() tests #4
...
- 'id' field may not be filled for all products
- adds test for code product unavaiable
- adds test for code product as a string
2018-07-25 21:09:12 +02:00
Fred Z
ea26876509
Writes code for function get_product() #4
2018-07-24 22:39:36 +02:00
Fred Z
a4faa0631d
Writes tests for 1st API access: get_product() #4
2018-07-24 22:39:36 +02:00