Files
website-v2/users/tests/test_signals.py
Lacey Williams Henschel f2a0da771e Add signal for saving profile data upon a new GH login
I did skip the tests -- my first tries with `patch` didn't work and I wanted to have this working for the demo, at least locally.
2023-02-16 15:22:06 -08:00

14 lines
452 B
Python

import pytest
@pytest.mark.skip("Reminder to write this test when I have the patience for mocks")
def test_import_social_profile_data():
"""
TODO:
- Test users.signals.import_social_profile_data
- Set `SocialAccount.extra_data` to the github_api_get_user_by_username_response
fixture in the libraries app -- it's not identical but it has what you need
- You probably need to use `responses` and not `patch`
"""
pass