An open API service indexing awesome lists of open source software.

https://github.com/mikebz/factory250

An example factory testing when OneToOne models are presetnt
https://github.com/mikebz/factory250

django example factory-boy models

Last synced: 3 months ago
JSON representation

An example factory testing when OneToOne models are presetnt

Awesome Lists containing this project

README

          

# factory250
This is an example of how to test out models that have a OneToOne field using factory boy library.
It was originally created in an attempt to reproduce a bug, but since the bug has gone away I am leaving this behind for someone who is interested in the minimum code necessary to do some unit testsing.