Testing

/Testing

Factory boy + Profile + Signals

By |2018-11-10T13:30:20+00:00noviembre 10th, 2018|Categories: Django, Testing|Tags: , , , , |

Factory boy + Profile + Signals The problem for me was to create users and profiles with factory boy. I have a User model, and then two profiles, only one of each will be attached to the user. Only some relevant fields will be listed in the code. project.apps.authentication.models.py [crayon-5ce2faed789b1211203437/] project.apps.entities.models.py [crayon-5ce2faed789ba831667939/] So after having [...]