Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WesternFriend/westernfriend.org
/ functions
Functions
616 in github.com/WesternFriend/westernfriend.org
⨍
Functions
616
◇
Types & classes
736
↳
Endpoints
26
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:298
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:319
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:342
Method
test_get_context_contains_only_ongoing_and_upcoming_events
(self)
events/tests.py:178
Method
test_get_context_contains_only_published_events
(self)
events/tests.py:133
Method
test_get_context_includes_meetings
(self)
contact/tests.py:143
Method
test_get_context_invalid_category
(self)
events/tests.py:101
Method
test_get_context_meetings_are_specific
(self)
contact/tests.py:149
Method
test_get_context_no_category
(self)
events/tests.py:67
Method
test_get_context_prefetches_authors
Verify that get_context() prefetches authors to prevent N+1 queries. After calling get_context(), accessing article.archive_authors.all and
magazine/tests.py:842
Method
test_get_context_recent_issues
Validate the output of get_context.
magazine/tests.py:86
Method
test_get_context_valid_category
(self)
events/tests.py:84
Method
test_get_context_with_page_number
(self)
magazine/tests.py:695
Method
test_get_cost_method
(self)
orders/tests.py:113
Method
test_get_filtered_memorials_meeting
(self)
memorials/tests.py:88
Method
test_get_filtered_memorials_title
(self)
memorials/tests.py:74
Method
test_get_request_serve_index_template
(self)
subscription/tests.py:74
Method
test_get_shipping_cost
(self)
cart/tests.py:121
Method
test_get_sitemap_urls
Validate the output of get_sitemap_urls.
magazine/tests.py:68
Method
test_get_sitemap_urls
Validate the output of get_sitemap_urls.
magazine/tests.py:261
Method
test_get_sitemap_urls
Validate the output of get_sitemap_urls.
magazine/tests.py:533
Method
test_get_subscription_failure
( self, mock_construct_headers, mock_get, mock_logger, )
paypal/tests.py:193
Method
test_get_subscription_success
( self, mock_construct_headers, mock_get, mock_logger, )
paypal/tests.py:167
Method
test_get_subtotal_cost
(self)
cart/tests.py:102
Method
test_get_subtotal_cost_with_quantity_two
(self)
cart/tests.py:112
Method
test_handles_multiple_default_sites_gracefully
Test that function handles edge case of multiple default sites. This can happen in test environments where multiple test cases create
core/tests.py:56
Method
test_home_page_creation
(self)
home/tests.py:15
Method
test_href_with_anchor
(self)
navigation/tests.py:16
Method
test_href_with_anchor
(self)
navigation/tests.py:67
Method
test_href_with_no_url
(self)
navigation/tests.py:45
Method
test_href_without_anchor
(self)
navigation/tests.py:31
Method
test_href_without_anchor
(self)
navigation/tests.py:85
Method
test_hyphen_only_word_does_not_crash
Regression: a hyphen token surviving sanitization caused tsquery SyntaxError. Real query: "Urban heat islandsTR Oke - The Routledge Handbook
search/tests.py:770
Method
test_internal_consecutive_spaces_no_tsquery_syntax_error
Regression: special chars between words must not produce empty tsquery tokens. When special chars separate words (e.g. "article!!preserving m
search/tests.py:869
Method
test_is_active_with_future_expiration
(self)
subscription/tests.py:224
Method
test_is_active_with_no_data
(self)
subscription/tests.py:234
Method
test_is_active_with_past_expiration
(self)
subscription/tests.py:229
Method
test_is_active_with_paypal_active
(self, mock_is_active)
subscription/tests.py:213
Method
test_is_active_with_paypal_inactive
(self, mock_is_active)
subscription/tests.py:219
Method
test_is_public_access
Test that the is_public_access property returns the correct boolean.
magazine/tests.py:279
Method
test_is_public_access
Test that the is_public_access property returns the correct boolean.
magazine/tests.py:551
Method
test_is_subscriber_subscription_active
(self)
accounts/tests.py:67
Method
test_is_subscriber_subscription_expired
(self)
accounts/tests.py:77
Method
test_items_per_page
(self)
pagination/tests.py:68
Method
test_json_ld_included
JSON-LD script block is present for deep pages.
common/tests.py:338
Method
test_json_ld_positions_are_sequential
JSON-LD positions: Home=1, visible ancestor=2, current page=3.
common/tests.py:344
Method
test_library_index_page_creation
(self)
library/tests.py:85
Method
test_library_item_custom_template_renders
Test that library item search results use custom template.
search/tests.py:566
Method
test_locale_cached_within_request
Two calls within the same request return the identical object. The cache is activated directly (rather than via request_started) to a
common/tests.py:244
Method
test_magazine_article_author_create
Test that ContactPublicationStatistics is updated when a MagazineArticleAuthor is created.
magazine/test_signals.py:60
Method
test_magazine_article_author_delete
Test that ContactPublicationStatistics is updated when a MagazineArticleAuthor is deleted.
magazine/test_signals.py:84
Method
test_magazine_article_custom_template_renders
Test that magazine article search results use custom template with author info.
search/tests.py:476
Method
test_magazine_article_displays_authors
Test that magazine article search results display author information.
search/tests.py:336
Method
test_magazine_article_displays_teaser
Test that magazine article search results can display teaser text.
search/tests.py:344
Method
test_magazine_article_has_prefetch_parent_issues
MagazineArticle.prefetch_parent_issues must exist as a callable.
search/tests.py:651
Method
test_magazine_article_queryset_has_defer_streamfields
MagazineArticle.objects.defer_streamfields must exist (PageQuerySet).
search/tests.py:658
Method
test_magazine_article_uses_custom_template
Test that magazine articles use their custom search template.
search/tests.py:318
Method
test_magazine_department_autocomplete_label
Test that the MagazineDepartment autocomplete_label property returns the correct string.
magazine/tests.py:404
Method
test_magazine_department_str
Test that the MagazineDepartment __str__ method returns the correct string.
magazine/tests.py:398
Method
test_magazine_index_page_factory
Test that the MagazineIndexPageFactory creates a MagazineIndexPage instance.
magazine/tests.py:726
Method
test_magazine_issue_custom_template_renders
Test that magazine issue search results use custom template.
search/tests.py:601
Method
test_magazine_issue_factory
Test that the MagazineIssueFactory creates a MagazineIssue instance.
magazine/tests.py:739
Method
test_manage_subscription_includes_subscription_index_page
Test that get_context includes subscription_index_page.
subscription/tests.py:177
Method
test_manage_subscription_with_user_subscriptions
(self)
subscription/tests.py:145
Method
test_manage_subscription_without_subscription_index_page
Test that get_context omits subscription_index_page when none exist.
subscription/tests.py:197
Method
test_manage_subscription_without_user_subscriptions
(self)
subscription/tests.py:163
Method
test_max_length_boundary_not_truncated
(self)
search/tests.py:733
Method
test_medium_creation
Test that a Medium can be created.
facets/tests.py:83
Method
test_meeting_custom_template_renders
Test that meeting search results use custom template.
search/tests.py:529
Method
test_meeting_get_context
(self)
contact/tests.py:174
Method
test_meeting_index_page_creation
(self)
contact/tests.py:61
Method
test_meeting_index_page_creation
(self)
contact/tests.py:80
Method
test_meeting_with_related_content_query_optimization
Test that Meeting pages with related content don't trigger N+1 queries.
contact/tests.py:393
Method
test_memorial_creation
(self)
memorials/tests.py:28
Method
test_model_name
Test the model_name filter returns the correct model name.
common/tests.py:66
Method
test_multiple_articles_count
Test that ContactPublicationStatistics correctly counts multiple articles.
magazine/test_signals.py:158
Method
test_multiple_key_value_pairs
Test that a dictionary with multiple key-value pairs returns a correct query string.
library/tests.py:42
Method
test_nav_rendered_for_deep_page
Breadcrumb nav appears when the page has more than one ancestor.
common/tests.py:326
Method
test_news_index_page_creation
Test that a NewsIndexPage can be created.
news/tests.py:16
Method
test_news_item_creation
Test that a NewsItem can be created.
news/tests.py:32
Method
test_no_cross_request_cache_leakage
Each new request starts with a fresh, empty cache.
common/tests.py:258
Method
test_no_duplicate_notification_without_refresh
Test that in-memory instance prevents duplicate notifications. This tests the bug fix where the in-memory order instance is updated w
orders/tests.py:414
Method
test_no_output_for_shallow_page
No breadcrumbs for a page with only one ancestor (the root).
common/tests.py:322
Method
test_no_output_when_page_is_none
Template produces no output when page is None.
common/tests.py:318
Method
test_non_post_request
(self)
paypal/tests.py:481
Method
test_notification_error_does_not_prevent_save
Test that email sending errors don't prevent order from being saved.
orders/tests.py:484
Method
test_notification_not_sent_twice
Test that notification is only sent once per order.
orders/tests.py:396
Method
test_notification_not_sent_when_order_created_unpaid
Test that notification is not sent when order is created as unpaid.
orders/tests.py:369
Method
test_notification_sent_to_configured_recipients
Test that notification is sent to all configured email addresses.
orders/tests.py:451
Method
test_notification_sent_when_order_marked_paid
Test that notification is sent when order is marked as paid.
orders/tests.py:374
Method
test_notification_skipped_when_no_emails_configured
Test that notification is skipped when no emails are configured.
orders/tests.py:471
Method
test_notification_url_construction
Test that admin URL is correctly constructed.
orders/tests.py:498
Method
test_notification_uses_default_from_email
Test that notification uses Django's DEFAULT_FROM_EMAIL setting.
orders/tests.py:508
Method
test_online_worship_creation
(self)
community/tests.py:48
Method
test_online_worship_custom_template_renders
Test that online worship search results use custom template.
search/tests.py:582
Method
test_online_worship_index_page_creation
(self)
community/tests.py:29
Method
test_order_create_view_get_request
(self)
orders/tests.py:134
Method
test_order_create_view_post_request_form_invalid
(self)
orders/tests.py:182
Method
test_order_create_view_post_request_form_valid
(self)
orders/tests.py:144
Method
test_order_get_total_cost
(self)
orders/tests.py:84
← previous
next →
401–500 of 616, ranked by callers