On 16/11/18 11:41, Javier Uribe wrote:
> Hello, I've noticed that we have to create products very often on scenario 
> testing. I would like to propose a create_template method on 
> product/tests/tools.py that would simplify this, so the scenarios that 
> created templates were cleaner and more modular.
I think think it will be very usefull as depending on the scenario you
will use diferent parameters: Use Services, Goods, With Diferent unit
prices, With Account Categories, without them, so we will end up with a
create_template method that will accept all the fields of the template.
In this case it's simpler to create the template directly.

Saludos,

-- 
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/4426889c-6cf8-a503-8309-23778f4f54bc%40koolpi.com.

Reply via email to