factory_boyEasy Playground

Test fixtures: create complex object hierarchies

Getting started with factory_boyRun locally
Install
pip install factory-boy
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: factory_boy)

factory_boy is a third-party package. Test fixtures: create complex object hierarchies. Install with: pip install factory-boy

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?