Rename property on ModelLists

The property doesn’t represent the whole client, but just one method on
it. So this commit renames the property to better describe what it is
designed to store.
This commit is contained in:
Chris Hill-Scott
2020-01-16 15:57:51 +00:00
parent 721134dc17
commit c4818eb7f2
12 changed files with 51 additions and 51 deletions

View File

@@ -763,7 +763,7 @@ def test_should_check_for_sending_things_right(
}.get(template_type)
active_user_with_permissions,
mock_get_users = mocker.patch(
'app.models.user.Users.client',
'app.models.user.Users.client_method',
return_value=(
[active_user_with_permissions] * count_of_users_with_manage_service +
[active_user_no_settings_permission]
@@ -783,7 +783,7 @@ def test_should_check_for_sending_things_right(
invite_two['permissions'] = 'view_activity'
mock_get_invites = mocker.patch(
'app.models.user.InvitedUsers.client',
'app.models.user.InvitedUsers.client_method',
return_value=(
([invite_one] * count_of_invites_with_manage_service) +
[invite_two]