> So what is the best way to create associated models using pickle?
> I can create models from table but, I think, it is not the best way
You can 'label' the models when you create them, so that you can refer
to them later on in your scenario. Like so:
Given a corporation "goo" exists with name: "Test Corp Name"
And an employee exists with first_name: "First name", corporation:
corporation "goo"
Tom.
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
Tom ten Thij
Unboxed Consulting,
http://unboxedconsulting.com
T:
+44 20 3137 2943 F:
+44 20 7183 4251
-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~