So, I have created a custom pipeline for saving user's social profile data fetched from extra_data
attribute of the user.social_auth
model. I have thoroughly tested it, but manually.
How do I automate testing for my custom pipeline, by using regular
django.test.TestCase
?How to test if the normal pipeline works? User signup, login, etc.?
I did search a lot but didn't find any relevant similar questions let alone tutorials or documentation for it.
Update - I posted the question as an issue on github and found out that functionality for pipeline testing exists. Now I only need to figure out how to use it for my purpose.
strategy.storage.partial.store(current_partial)
. – Rigby