Exemplo n.º 1
0
 def _create_entry(self):
     """
     Helper method to create and return a SoftwareSecurePhotoVerification with appropriate data
     """
     name = 'Test Name'
     face_url = 'https://test.invalid'
     id_url = 'https://test2.invalid'
     key = 'test+key'
     user = UserFactory()
     return SoftwareSecurePhotoVerificationFactory(
         user=user,
         name=name,
         face_image_url=face_url,
         photo_id_image_url=id_url,
         photo_id_key=key)