mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
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.
14 lines
452 B
Python
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
|