Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnikaLegal/clerk
/ functions
Functions
1,882 in github.com/AnikaLegal/clerk
⨍
Functions
1,882
◇
Types & classes
828
↳
Endpoints
65
Function
test_find_clients__with_success
()
app/core/tests/test_core_mailchimp_service.py:18
Function
test_format_size
()
app/emails/tests/test_size.py:29
Function
test_generic_create_view_requires_permissions
Ensure that a given view's API create view enforced the correct user permissions.
app/case/tests/generic_view_tests/test_generic_view_permissions.py:57
Function
test_generic_delete_view_requires_permissions
Ensure that a given view's API delete view enforced the correct user permissions.
app/case/tests/generic_view_tests/test_generic_view_permissions.py:165
Function
test_generic_delete_view_schema
Ensure that a given view's API delete view matches the schema.
app/case/tests/generic_view_tests/test_generic_view_schemas.py:94
Function
test_generic_detail_view_requires_permissions
Ensure that a given view's API detail view enforced the correct user permissions.
app/case/tests/generic_view_tests/test_generic_view_permissions.py:93
Function
test_generic_detail_view_schema
Ensure that a given view's API detail view matches the schema.
app/case/tests/generic_view_tests/test_generic_view_schemas.py:66
Function
test_generic_list_view_requires_permissions
Ensure that a given view's API list view enforced the correct user permissions.
app/case/tests/generic_view_tests/test_generic_view_permissions.py:23
Function
test_generic_list_view_schema
Ensure that a given view's API list view matches the schema.
app/case/tests/generic_view_tests/test_generic_view_schemas.py:22
Function
test_generic_update_view_requires_permissions
Ensure that a given view's API update view enforced the correct user permissions.
app/case/tests/generic_view_tests/test_generic_view_permissions.py:129
Function
test_get_calls_requests_get
(mock_requests_get, endpoint_with_headers)
app/microsoft/tests/test_base.py:54
Function
test_get_closure_between_dates
()
app/office/closure/tests/test_office_closure_service.py:40
Function
test_get_closure_call
()
app/office/closure/tests/test_office_closure_service.py:68
Function
test_get_closure_call_format
()
app/office/closure/tests/test_office_closure_service.py:76
Function
test_get_closure_email
()
app/office/closure/tests/test_office_closure_service.py:84
Function
test_get_closure_email_format
()
app/office/closure/tests/test_office_closure_service.py:91
Function
test_get_closure_notice
()
app/office/closure/tests/test_office_closure_service.py:99
Function
test_get_closure_notice_format
()
app/office/closure/tests/test_office_closure_service.py:106
Function
test_get_closure_on_close_date
()
app/office/closure/tests/test_office_closure_service.py:49
Function
test_get_created_time_file_not_found
(storage)
app/microsoft/tests/test_storage.py:135
Function
test_get_created_time_success
(storage)
app/microsoft/tests/test_storage.py:129
Function
test_get_email_payload_size_accounts_for_base64_inflation
()
app/emails/tests/test_size.py:35
Function
test_get_email_payload_size_counts_body_and_encoded_attachments
()
app/emails/tests/test_size.py:19
Function
test_get_email_payload_size_handles_no_body
()
app/emails/tests/test_size.py:25
Function
test_get_file_info_api
(storage, mock_api)
app/microsoft/tests/test_storage.py:34
Function
test_get_file_info_cache
(storage)
app/microsoft/tests/test_storage.py:28
Function
test_get_list_pagination
(mock_requests_get, endpoint_with_headers)
app/microsoft/tests/test_base.py:71
Function
test_get_modified_time_file_not_found
(storage)
app/microsoft/tests/test_storage.py:147
Function
test_get_modified_time_success
(storage)
app/microsoft/tests/test_storage.py:141
Function
test_get_next_fileref__first_one
()
app/core/tests/test_issue.py:20
Function
test_get_next_fileref__with_different_eviction_topic_has_same_prefix
()
app/core/tests/test_issue.py:36
Function
test_get_next_fileref__with_prior_filerefs
()
app/core/tests/test_issue.py:26
Function
test_get_next_fileref__with_prior_filerefs__over_9999
()
app/core/tests/test_issue.py:44
Function
test_get_valid_name
(storage)
app/microsoft/tests/test_storage.py:104
Function
test_group_precedence_with_admin_present
( user, admin_group, lawyer_group, coordinator_group, paralegal_group )
app/accounts/tests/test_role.py:95
Function
test_group_precedence_without_admin
( user, lawyer_group, coordinator_group, paralegal_group )
app/accounts/tests/test_role.py:117
Function
test_handle_404_response
(endpoint)
app/microsoft/tests/test_base.py:155
Function
test_handle_other_http_error_logs_and_raises
(endpoint)
app/microsoft/tests/test_base.py:164
Function
test_handle_successful_response
(endpoint)
app/microsoft/tests/test_base.py:147
Function
test_headers_raises_when_no_token
(mock_get_token, endpoint)
app/microsoft/tests/test_base.py:47
Function
test_headers_returns_headers_with_auth
(mock_get_token, endpoint)
app/microsoft/tests/test_base.py:40
Function
test_impact_clean_end_before_start
clean() raises ValidationError when page_range_end < page_range_start.
app/web/tests/test_impact.py:121
Function
test_impact_clean_end_equals_start_passes
clean() does not raise when page_range_end == page_range_start.
app/web/tests/test_impact.py:132
Function
test_impact_clean_no_range_passes
clean() does not raise when page_range_start and page_range_end are both None.
app/web/tests/test_impact.py:92
Function
test_impact_clean_start_page_below_one
clean() raises ValidationError when page_range_start is 0.
app/web/tests/test_impact.py:110
Function
test_impact_clean_valid_range_passes
clean() does not raise for a valid start/end range.
app/web/tests/test_impact.py:101
Function
test_impact_draft_does_not_demote_live
Saving a draft (live=False) Impact does not affect the current live Impact.
app/web/tests/test_impact.py:31
Function
test_impact_only_one_live
Saving a new live Impact demotes any previously live Impact.
app/web/tests/test_impact.py:15
Function
test_impact_view_returns_most_recent_live
When multiple Impacts exist, only the most-recent live one is returned.
app/web/tests/test_impact.py:73
Function
test_impact_view_with_live_impact
The impact view passes the live Impact to the template context.
app/web/tests/test_impact.py:44
Function
test_impact_view_with_no_live_impact
The impact view passes None to the template context when no live Impact exists.
app/web/tests/test_impact.py:60
Function
test_ingest_email__with_multiple_local_recipients
(settings, test_data)
app/emails/tests/test_ingest_email.py:148
Function
test_ingest_email__with_success
(settings, test_data)
app/emails/tests/test_ingest_email.py:87
Function
test_is_group_annotations
Ensure is_paralegal, is_coordinator, is_admin are set correctly by group access annotator.
app/case/tests/test_access_annotations.py:14
Function
test_is_group_or_better_annotations
Ensure is_paralegal_or_better, is_coordinator_or_better, is_admin_or_better are set correctly by group access annotator.
app/case/tests/test_access_annotations.py:90
Function
test_is_in_group_properties_reflect_membership
(user, admin_group, lawyer_group)
app/accounts/tests/test_role.py:139
Function
test_is_name_available_exceeds_max_length
(storage)
app/microsoft/tests/test_storage.py:157
Function
test_is_name_available_no_max_length
(storage)
app/microsoft/tests/test_storage.py:153
Function
test_is_name_available_within_max_length
(storage)
app/microsoft/tests/test_storage.py:161
Function
test_issue_date_api_create_perms
Test create API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:326
Function
test_issue_date_api_create_with_is_reviewed_perms
The is_reviewed field is only editable by admins. Test the create API perms including this field for different users.
app/case/tests/specific_view_tests/test_date_views.py:381
Function
test_issue_date_api_delete_perms
Test delete API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:640
Function
test_issue_date_api_list_perms
Test list API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:439
Function
test_issue_date_api_retrieve_perms
Test display API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:493
Function
test_issue_date_api_update_perms
Test update API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:540
Function
test_issue_date_api_update_with_is_reviewed_perms
Test update API perms for different users.
app/case/tests/specific_view_tests/test_date_views.py:590
Function
test_issue_date_create_api
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:11
Function
test_issue_date_create_api__restrict_date_prior_to_today
( superuser_client, )
app/case/tests/specific_view_tests/test_date_views.py:46
Function
test_issue_date_create_api__restrict_if_related_issue_closed
( superuser_client, )
app/case/tests/specific_view_tests/test_date_views.py:71
Function
test_issue_date_create_hearing_listed
Dates for hearings must include the hearing type and location.
app/case/tests/specific_view_tests/test_date_views.py:103
Function
test_issue_date_delete_api
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:294
Function
test_issue_date_list_api
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:131
Function
test_issue_date_list_api__q_filter
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:153
Function
test_issue_date_retrieve_api
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:198
Function
test_issue_date_update_api
(superuser_client)
app/case/tests/specific_view_tests/test_date_views.py:209
Function
test_issue_date_update_api__allow_updates_to_other_fields_for_unchanged_dates_prior_to_today
( superuser_client, )
app/case/tests/specific_view_tests/test_date_views.py:248
Function
test_issue_date_update_api__restrict_date_prior_to_today
( superuser_client, )
app/case/tests/specific_view_tests/test_date_views.py:230
Function
test_issue_date_update_hearing_listed
Dates for hearings must include the hearing type and location.
app/case/tests/specific_view_tests/test_date_views.py:275
Function
test_issue_note_api_list_coordinator_note_types
Test API list perms for different users on coordinator note types, which should only be visible to coordinators and above.
app/case/tests/specific_view_tests/test_note_views.py:83
Function
test_issue_note_api_list_perms
Test list API perms for different users.
app/case/tests/specific_view_tests/test_note_views.py:139
Function
test_issue_note_api_list_perms_as_creator
Test API list perms for different users as the creator of the note.
app/case/tests/specific_view_tests/test_note_views.py:193
Function
test_issue_note_list_api
(superuser_client)
app/case/tests/specific_view_tests/test_note_views.py:13
Function
test_issue_note_list_api__search_filter
(superuser_client)
app/case/tests/specific_view_tests/test_note_views.py:36
Function
test_job_urls
(client)
app/web/tests/test_web_urls.py:51
Function
test_jotforms_form_create
JotForm survey submission test success
app/webhooks/tests/test_webhook_views.py:54
Function
test_jotforms_form_create_fail
JotForm survey submission test failure
app/webhooks/tests/test_webhook_views.py:72
Function
test_lawyer_group_role
(lawyer_user)
app/accounts/tests/test_role.py:67
Function
test_logout
Ensure URLs return the correct status code.
app/accounts/tests/test_auth.py:11
Function
test_message_view
User can send SMS to Twilio number.
app/caller/tests/test_caller_views.py:13
Function
test_microsoft_adapter_case_delegation
(mock_ms_service, user)
app/accounts/tests/test_access.py:20
Function
test_microsoft_adapter_user_activation
( mock_ms_service, user_type, is_ms_account_set_up, is_added_to_group, request )
app/accounts/tests/test_access.py:45
Function
test_microsoft_adapter_user_deactivation
(mock_ms_service, user_type, request)
app/accounts/tests/test_access.py:75
Function
test_microsoft_adapter_user_role_change
( mock_ms_service, user_type, is_ms_account_set_up, is_added_to_group, request )
app/accounts/tests/test_access.py:98
Function
test_ms_service__add_user_to_case
Check service function gives user write permissions to existing case folder
app/microsoft/tests/test_ms_service.py:152
Function
test_ms_service__assign_office_licence
Check service function assigns licence to user with MS account
app/microsoft/tests/test_ms_service.py:94
Function
test_ms_service__assign_office_licence_to_nonexistent_user
Check service function does not assign licence to non-existent user
app/microsoft/tests/test_ms_service.py:106
Function
test_ms_service__get_case_folder_info
Check service function when there is a proper case folder
app/microsoft/tests/test_ms_service.py:228
Function
test_ms_service__get_nonexistent_case_folder_info
Check service function when the case folder doesn't exist
app/microsoft/tests/test_ms_service.py:213
Function
test_ms_service__remove_different_user_from_case
Check service function when there are permissions on the case folder that don't belong to our user
app/microsoft/tests/test_ms_service.py:178
Function
test_ms_service__remove_nonexistent_office_licence
Check service function does not remove licence from user without MS account
app/microsoft/tests/test_ms_service.py:137
← previous
next →
1,601–1,700 of 1,882, ranked by callers