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_ms_service__remove_office_licence
Check service function removes licence from user with MS account
app/microsoft/tests/test_ms_service.py:118
Function
test_ms_service__remove_unprivileged_user_from_case
Check service function when there are no permissions on the case folder
app/microsoft/tests/test_ms_service.py:165
Function
test_ms_service__remove_user_from_case
Check service function when there are permissions on the case folder belonging to our user
app/microsoft/tests/test_ms_service.py:193
Function
test_ms_service__set_up_coordinator
Check service function adds User who is not already a Group member
app/microsoft/tests/test_ms_service.py:271
Function
test_ms_service__set_up_coordinator_that_already_is_member
Check service function doesn't add User who is already a Group member
app/microsoft/tests/test_ms_service.py:259
Function
test_ms_service__set_up_existing_user
Test signal is not emitted when user already has MS account
app/microsoft/tests/test_ms_signal.py:23
Function
test_ms_service__set_up_existing_user
Check service function does not create MS account or assign license for existing user
app/microsoft/tests/test_ms_service.py:29
Function
test_ms_service__set_up_new_case
Check service function creates new case folder and places it inside parent folder
app/microsoft/tests/test_ms_service.py:76
Function
test_ms_service__set_up_new_user
Check service function creates MS account and assigns license for new user
app/microsoft/tests/test_ms_service.py:42
Function
test_ms_service__set_up_new_user_with_paralegal_role
Check service function creates MS account and assigns license for new user with paralegal role
app/microsoft/tests/test_ms_service.py:58
Function
test_ms_service__tear_down_coordinator
Check service function removes User who is already a Group member
app/microsoft/tests/test_ms_service.py:283
Function
test_ms_service__tear_down_coordinator_that_is_not_member
Check service function doesn't remove User who is not already a Group member
app/microsoft/tests/test_ms_service.py:297
Function
test_ms_signal__assign_user_licence_on_ms_account_created_signal_received
Test that when ms_account_created signal is received, assign_license is called
app/microsoft/tests/test_ms_signal.py:54
Function
test_ms_signal__set_up_new_user
Test signal is emitted when a new MS account is created
app/microsoft/tests/test_ms_signal.py:37
Function
test_ms_signal__welcome_email_on_ms_account_created_signal_received
Test that when ms_account_created signal is received, welcome email is sent
app/accounts/tests/test_signals.py:184
Function
test_new_active_user
(mock_user_event_mgr)
app/accounts/tests/test_signals.py:38
Function
test_new_inactive_user
(mock_user_event_mgr)
app/accounts/tests/test_signals.py:30
Function
test_no_groups_defaults_false
(user)
app/accounts/tests/test_role.py:19
Function
test_nothing_sent_when_already_sent
(mock_async)
app/webhooks/tests/test_webhook_signals.py:30
Function
test_open_file_not_found
(storage, mock_api)
app/microsoft/tests/test_storage.py:48
Function
test_open_success
(storage)
app/microsoft/tests/test_storage.py:41
Function
test_paralegal_group_role
(paralegal_user)
app/accounts/tests/test_role.py:81
Function
test_patch_calls_requests_patch
(mock_requests_patch, endpoint_with_headers)
app/microsoft/tests/test_base.py:114
Function
test_path_name_status_codes
Ensure URLs return the correct status code.
app/web/tests/test_web_urls.py:40
Function
test_person_api_list_perms
Test list API perms for different users.
app/case/tests/specific_view_tests/test_person_views.py:336
Function
test_person_api_retrieve_perms
Test creation of a tenancy via the API as different users.
app/case/tests/specific_view_tests/test_person_views.py:393
Function
test_person_api_update_perms
Test updating a person via the API as different users.
app/case/tests/specific_view_tests/test_person_views.py:442
Function
test_person_create_api
Test creating a new person with POST request.
app/case/tests/specific_view_tests/test_person_views.py:200
Function
test_person_list_api
Test basic list retrieval without any parameters.
app/case/tests/specific_view_tests/test_person_views.py:10
Function
test_person_list_api__lawyer_returns_only_related_people
Lawyer list action should only return people linked to issues they work on.
app/case/tests/specific_view_tests/test_person_views.py:288
Function
test_person_list_api__paralegal_returns_only_related_people
Paralegal list action should only return people linked to issues they work on.
app/case/tests/specific_view_tests/test_person_views.py:256
Function
test_person_list_api__with_page
Test list action pagination with page parameter.
app/case/tests/specific_view_tests/test_person_views.py:33
Function
test_person_list_api__with_page_and_query
Test list action with both page and query parameters.
app/case/tests/specific_view_tests/test_person_views.py:141
Function
test_person_list_api__with_query
Test list action with query parameter for searching.
app/case/tests/specific_view_tests/test_person_views.py:65
Function
test_person_retrieve_api
Test retrieving a specific person.
app/case/tests/specific_view_tests/test_person_views.py:184
Function
test_person_update_api
Test updating an existing person.
app/case/tests/specific_view_tests/test_person_views.py:226
Function
test_phone_au_calling_code
()
app/blacklist/tests/test_blacklist_service.py:73
Function
test_post_calls_requests_post
(mock_requests_post, endpoint_with_headers)
app/microsoft/tests/test_base.py:97
Function
test_process_client
Ensure that intake form submissions can be processed into a client.
app/core/tests/test_core_submission/test_submit_client.py:178
Function
test_process_submission
Ensure that intake form submissions can be processed,
app/core/tests/test_core_submission/test_submit_issue.py:293
Function
test_process_submissions
Ensure we have the expected object counts when making submissions.
app/core/tests/test_core_submission/test_process_submission.py:33
Function
test_process_tenancy
Ensure that intake form submissions can be processed into a tenancy.
app/core/tests/test_core_submission/test_submit_tenancy.py:134
Function
test_remind_incomplete__sends_email
(mock_api)
app/core/tests/test_core_mailchimp_service.py:104
Function
test_remind_incomplete_invalid_email
(mock_api)
app/core/tests/test_core_mailchimp_service.py:174
Function
test_remind_incomplete_same_email
(mock_api)
app/core/tests/test_core_mailchimp_service.py:137
Function
test_remove_group
(mock_user_event_mgr, group_name, user)
app/accounts/tests/test_signals.py:102
Function
test_remove_lawyer_from_case
(mock_user_event_mgr, lawyer_user)
app/accounts/tests/test_signals.py:173
Function
test_remove_lawyer_from_group
(mock_user_event_mgr, lawyer_user, lawyer_group)
app/accounts/tests/test_signals.py:124
Function
test_remove_paralegal_from_case
(mock_user_event_mgr, paralegal_user)
app/accounts/tests/test_signals.py:151
Function
test_remove_paralegal_from_group
( mock_user_event_mgr, paralegal_user, paralegal_group )
app/accounts/tests/test_signals.py:113
Function
test_report_is_featured_is_singular
Test that only one report is featured at a time.
app/web/tests/test_reports.py:26
Function
test_report_validate_only_one_of_document_or_blog_supplied
Validate that a report must have either a document or a blog page, but not both or neither.
app/web/tests/test_reports.py:8
Function
test_reset_recomputes_on_group_change
(user, paralegal_group, coordinator_group)
app/accounts/tests/test_role.py:200
Function
test_resource_urls
(client)
app/web/tests/test_web_urls.py:92
Function
test_save_creates_dir
(storage, mock_api)
app/microsoft/tests/test_storage.py:63
Function
test_save_email_delivery_failure_and_alert_sent_does_not_trigger_failure_slack_alert
( mock_async_task, )
app/emails/tests/test_signals.py:56
Function
test_save_email_delivery_failure_and_no_alert_triggers_failure_slack_alert
( mock_async_task, )
app/emails/tests/test_signals.py:46
Function
test_save_email_ingested_and_alert_sent_does_not_trigger_slack_alert
( mock_async_task, )
app/emails/tests/test_signals.py:36
Function
test_save_email_ingested_and_no_alert_triggers_slack_alert
(mock_async_task)
app/emails/tests/test_signals.py:28
Function
test_save_email_ready_to_send_triggers_send_email_task
(mock_async_task)
app/emails/tests/test_signals.py:12
Function
test_save_email_received_triggers_ingest_email_task
(mock_async_task)
app/emails/tests/test_signals.py:20
Function
test_save_existing_dir
(storage)
app/microsoft/tests/test_storage.py:54
Function
test_save_folder_not_found
(storage, mock_api)
app/microsoft/tests/test_storage.py:72
Function
test_save_inbound_email_no_attachments
()
app/emails/tests/test_save_email.py:46
Function
test_save_inbound_email_with_duplicate_attachments
(settings, tmpdir)
app/emails/tests/test_save_email.py:105
Function
test_save_inbound_email_with_multiple_attachments
(settings, tmpdir)
app/emails/tests/test_save_email.py:80
Function
test_save_inbound_email_with_single_attachment
(settings, tmpdir)
app/emails/tests/test_save_email.py:60
Function
test_send_email_task_marks_failure_on_sendgrid_error
A SendGrid rejection should flag the email as failed, not stay stuck.
app/emails/tests/test_send_email.py:34
Function
test_send_issue_slack
Ensure send_issue_slack call Slack without anything exploding https://github.com/getsentry/responses
app/slack/tests/test_slack_services.py:15
Function
test_send_notifcation__with_different_issue_topic
(mock_send_message)
app/notify/tests/test_notifications.py:48
Function
test_send_notifcation__with_general_issue_topic
(mock_send_message)
app/notify/tests/test_notifications.py:68
Function
test_send_notifcation__with_lawyer_target
(mock_send_message)
app/notify/tests/test_notifications.py:97
Function
test_send_notifcation__with_same_issue_topic
(mock_send_message)
app/notify/tests/test_notifications.py:19
Function
test_signal_create_schedules_task
A CREATE audit log entry triggers async_task via transaction.on_commit.
app/web/tests/test_impact.py:152
Function
test_signal_delete_does_not_schedule
A DELETE audit log entry does not schedule the task.
app/web/tests/test_impact.py:207
Function
test_signal_update_non_trigger_field_does_not_schedule
An UPDATE entry that only touches 'title' does not schedule the task.
app/web/tests/test_impact.py:189
Function
test_signal_update_trigger_field_schedules_task
An UPDATE entry touching any of the trigger fields schedules the task.
app/web/tests/test_impact.py:170
Function
test_size_file_not_found
(storage)
app/microsoft/tests/test_storage.py:113
Function
test_size_success
(storage)
app/microsoft/tests/test_storage.py:108
Function
test_slack_issue_message
Ensure we call Slack without anything exploding
app/core/tests/test_core_slack_service.py:12
Function
test_slack_not_dispatched_when_already_sent
Ensure Slack message not sent twice.
app/core/tests/test_core_signals.py:65
Function
test_slack_sent_on_save
(mock_async)
app/webhooks/tests/test_webhook_signals.py:15
Function
test_slack_webflow_msg
Ensure we call Slack without anything exploding
app/webhooks/tests/test_webhook_services.py:11
Function
test_submission_api_retrieve_perms
Test retrieve API perms for different users.
app/case/tests/specific_view_tests/test_submission_views.py:47
Function
test_submission_api_retrieve_perms__unprocessed
Test retrieve API perms for different users with unprocessed submissions.
app/case/tests/specific_view_tests/test_submission_views.py:94
Function
test_submission_not_processed_on_save_if_not_complete
(mock_async)
app/core/tests/test_core_signals.py:14
Function
test_submission_not_processed_on_save_if_processed
(mock_async)
app/core/tests/test_core_signals.py:38
Function
test_submission_processed_on_save_if_complete
(mock_async)
app/core/tests/test_core_signals.py:25
Function
test_submission_retrieve_api
(superuser_client)
app/case/tests/specific_view_tests/test_submission_views.py:8
Function
test_submission_retrieve_api__unprocessed_not_accessible
(superuser_client)
app/case/tests/specific_view_tests/test_submission_views.py:19
Function
test_submission_views
User can create, get, update and submit a submission.
app/core/tests/test_core_views.py:34
Function
test_superuser_role
(superuser)
app/accounts/tests/test_role.py:25
Function
test_superuser_with_group_memberships_still_no_base_role
( user, admin_group, lawyer_group )
app/accounts/tests/test_role.py:149
Function
test_tenancy_api_retrieve_perms
Test creation of a tenancy via the API as different users.
app/case/tests/specific_view_tests/test_tenancy_views.py:66
Function
test_tenancy_api_update_perms
Test creation of a tenancy via the API as different users.
app/case/tests/specific_view_tests/test_tenancy_views.py:112
Function
test_tenancy_retrieve_api
(superuser_client)
app/case/tests/specific_view_tests/test_tenancy_views.py:8
Function
test_tenancy_update_api
(superuser_client)
app/case/tests/specific_view_tests/test_tenancy_views.py:19
Function
test_token_property_returns_none
(mock_get_token, endpoint)
app/microsoft/tests/test_base.py:34
Function
test_token_property_returns_token
(mock_get_token, endpoint)
app/microsoft/tests/test_base.py:28
Function
test_tracked_document_download
Test that we intercept tracked document download with a form page and that we get the actual document on form submission.
app/web/tests/test_views.py:119
← previous
next →
1,701–1,800 of 1,882, ranked by callers