bookwyrm/bookwyrm/tests/views/preferences
Hugh Rundle 6684d60526
refactor Move for more redundancy
As outlined in #3354, a use `Move` fails if the user is moving from a BookWyrm server to another BookWrym server.
This is because:

1. the original code did not announce changes to alsoKnownAs;
2. the original code always checked the locally saved profile rather than refetching the remote data;

This commit fixes both these problems by forcing `MoveUser` to always perform a "refresh" of the local data from the remote, and by saving the user with broadcast=True when updating alsoKnownAs ids.
2024-04-22 13:35:08 +10:00
..
__init__.py Updates init files for pylint 2022-04-08 14:16:05 -07:00
test_block.py Use setUpTestData() to speed up tests 2023-12-11 19:40:30 -03:00
test_change_password.py Use setUpTestData() to speed up tests 2023-12-11 19:40:30 -03:00
test_delete_user.py Use setUpTestData() to speed up tests 2023-12-11 19:40:30 -03:00
test_edit_user.py Use setUpTestData() to speed up tests 2023-12-11 19:40:30 -03:00
test_export.py Fix test_export 2024-01-16 08:12:59 +00:00
test_export_user.py formatting and pylint fixes 2023-10-22 16:52:29 +11:00
test_move.py refactor Move for more redundancy 2024-04-22 13:35:08 +10:00
test_two_factor_auth.py Use setUpTestData() to speed up tests 2023-12-11 19:40:30 -03:00