diff --git a/pairent_backend/pairent_app/factories.py b/pairent_backend/pairent_app/factories.py index 08479df..db0cd00 100644 --- a/pairent_backend/pairent_app/factories.py +++ b/pairent_backend/pairent_app/factories.py @@ -115,7 +115,6 @@ class UserFactory(factory.django.DjangoModelFactory): favorites_apartments = CSV(1, 100, 1, 16); comparison_apartments = CSV(1, 100, 1, 5); - openid_addr = OpenID_Address(); name = factory.faker.Faker('name'); date_of_birth = Date(1980, 2006); about_me = factory.faker.Faker('sentence'); @@ -127,4 +126,8 @@ class UserFactory(factory.django.DjangoModelFactory): discord = '@uwu' # они поменяли формат city = Random(0,0,0, ['Владивосток', 'Хабаровск', 'Урюпинск', 'Мухосранск', 'Нью-Йорк']) - role = 's' \ No newline at end of file + role = 's' + + openid_addr = OpenID_Address(); + openid_id = factory.faker.Faker('uuid'); + photo_provider = Random(0,0,0, ['VVSU', 'GRAVATAR']); \ No newline at end of file