unittest

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