/Tag: unittest

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-5c98e82653c90183742345/] project.apps.entities.models.py [crayon-5c98e82653c98386054386/] So after having [...]