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_add_class
Test the add_class filter adds CSS classes correctly.
common/tests.py:44
Method
test_add_product
(self)
cart/tests.py:64
Method
test_address_str_formatting
(self)
addresses/tests.py:10
Method
test_allows_https_when_secure_request_and_next_https_same_host
(self)
accounts/tests.py:138
Method
test_archive_article_author_create
Test that ContactPublicationStatistics is updated when an ArchiveArticleAuthor is created.
magazine/test_signals.py:109
Method
test_archive_article_author_delete
Test that ContactPublicationStatistics is updated when an ArchiveArticleAuthor is deleted.
magazine/test_signals.py:133
Method
test_archive_get_context_admin
Test that the get_context method returns the correct context.
magazine/tests.py:634
Method
test_archive_get_context_anonymous
Test that the get_context method returns the correct context.
magazine/tests.py:601
Method
test_archive_get_context_registered
Test that the get_context method returns the correct context.
magazine/tests.py:612
Method
test_archive_get_context_subscriber
Test that the get_context method returns the correct context.
magazine/tests.py:623
Method
test_articles_by_department
Test that the articles_by_department property returns the correct articles.
magazine/tests.py:242
Method
test_audience_creation
Test that an Audience can be created.
facets/tests.py:51
Method
test_authors_and_issue_render_with_accessible_markup
(self)
tags/tests.py:192
Method
test_book_shipping_cost
(self)
shipping/tests.py:11
Method
test_cache_is_none_outside_request
No cache dict exists before a request starts.
common/tests.py:228
Method
test_calls_specific_on_queryset
specific_pages delegates to queryset.specific().
common/tests.py:137
Method
test_capture_order_failure
( self, mock_construct_headers, mock_post, mock_logger, )
paypal/tests.py:138
Method
test_capture_order_success
(self, mock_construct_headers, mock_post)
paypal/tests.py:117
Method
test_cart_add_view
(self)
cart/tests.py:259
Method
test_cart_clear
(self)
cart/tests.py:154
Method
test_cart_detail_view
(self)
cart/tests.py:192
Method
test_cart_initialization
(self)
cart/tests.py:58
Method
test_cart_iteration
(self)
cart/tests.py:135
Method
test_cart_remove_view
(self)
cart/tests.py:294
Method
test_community_page_creation
(self)
memorials/tests.py:9
Method
test_community_page_creation
(self)
community/tests.py:13
Method
test_construct_paypal_auth_headers
(self, mock_get_auth_token)
paypal/tests.py:59
Method
test_create_cart_order_items
(self)
orders/tests.py:241
Method
test_create_order_failure
(self, mock_construct_headers, mock_post)
paypal/tests.py:97
Method
test_create_order_success
(self, mock_construct_headers, mock_post)
paypal/tests.py:77
Method
test_create_superuser
(self)
accounts/tests.py:36
Method
test_create_user
(self)
accounts/tests.py:13
Method
test_create_user_with_no_email
(self)
accounts/tests.py:28
Method
test_current_page_marked_with_aria_current
Current page item carries aria-current=page.
common/tests.py:332
Method
test_custom_emails_can_be_set
Test that custom emails can be configured.
orders/tests.py:320
Method
test_custom_search_templates_exist
Test that expected custom search templates exist.
search/tests.py:430
Method
test_default_email_is_set
Test that default email is set when settings are created.
orders/tests.py:315
Method
test_elided_page_range
(self)
pagination/tests.py:80
Method
test_elided_page_range_first_page
(self)
pagination/tests.py:105
Method
test_elided_page_range_last_page
(self)
pagination/tests.py:124
Method
test_empty_dictionary
Test that an empty dictionary returns an empty string.
library/tests.py:29
Method
test_empty_list_is_safe
prefetch_parent_issues on an empty list must not raise or query.
search/tests.py:698
Method
test_empty_query
Test that an empty query returns an empty dictionary.
library/tests.py:54
Method
test_event_custom_template_renders
Test that event search results use custom template.
search/tests.py:506
Method
test_exclude_from_breadcrumbs
Test the exclude_from_breadcrumbs filter.
common/tests.py:81
Method
test_excludes_breadcrumb_excluded_models
(self)
common/tests.py:174
Method
test_excludes_root_pages
(self)
common/tests.py:169
Method
test_facet_index_page_creation
Test that a FacetIndexPage can be created.
facets/tests.py:35
Method
test_failed_order_capture
(self, mock_capture_order)
paypal/tests.py:396
Method
test_failed_paypal_order
(self, mock_create_order)
paypal/tests.py:311
Method
test_fallback_renders_page_title_as_link
Test that fallback rendering shows page title as a clickable link.
search/tests.py:410
Method
test_fallback_template_for_pages_without_custom_template
Test that pages without custom search templates use fallback rendering.
search/tests.py:621
Method
test_fallback_when_next_absolute_to_other_host
(self)
accounts/tests.py:123
Method
test_fallback_when_next_under_custom_admin_base
(self)
accounts/tests.py:134
Method
test_fallback_when_no_next
(self)
accounts/tests.py:146
Method
test_fallback_when_relative_admin_without_slash
(self)
accounts/tests.py:142
Method
test_fallback_when_reverse_missing_and_next_is_admin
(self)
accounts/tests.py:111
Method
test_fallback_when_reverse_returns_custom_admin_path
(self)
accounts/tests.py:155
Method
test_fallback_when_secure_request_and_next_http_same_host
(self)
accounts/tests.py:128
Method
test_falsy_input_returns_empty_list
(self)
common/tests.py:165
Method
test_featured_articles
Test that the featured_articles property returns the correct articles.
magazine/tests.py:234
Method
test_full_name
(self)
memorials/tests.py:53
Method
test_function_returns_false_on_error
Test that function returns False when an error occurs.
orders/tests.py:577
Method
test_function_returns_false_when_no_emails_configured
Test that function returns False when no emails are configured.
orders/tests.py:567
Method
test_function_returns_true_on_success
Test that function returns True when email is sent successfully.
orders/tests.py:562
Method
test_function_updates_notification_timestamp_on_success
Test that notification_sent_at is set before calling the function. In normal usage, the timestamp is set in save() before the notification
orders/tests.py:585
Method
test_generic_page_uses_fallback_rendering
Test that generic pages without custom templates use fallback rendering.
search/tests.py:326
Method
test_genre_creation
Test that a Genre can be created.
facets/tests.py:67
Method
test_get_auth_token_failure
(self, mock_post)
paypal/tests.py:45
Method
test_get_auth_token_success
(self, mock_post)
paypal/tests.py:33
Method
test_get_cart_products
(self)
cart/tests.py:90
Method
test_get_context
( self, mock_create_querystring: Mock, mock_get_paginated_items: Mock, mock_fi
library/tests.py:111
Method
test_get_context
Test that get_context prefetches authors and topics.
library/tests.py:145
Method
test_get_context
Test that get_context returns documents with publishing_meeting prefetched.
documents/tests.py:32
Method
test_get_context
(self)
facets/tests.py:135
Method
test_get_context
Test that get_context returns library_items filtered by audience.
facets/tests.py:172
Method
test_get_context
Test that get_context returns library_items filtered by genre.
facets/tests.py:193
Method
test_get_context
Test that get_context returns library_items filtered by medium.
facets/tests.py:214
Method
test_get_context
(self)
memorials/tests.py:112
Method
test_get_context
(self)
home/tests.py:37
Method
test_get_context
(self)
magazine/tests.py:341
Method
test_get_context
(self)
magazine/tests.py:381
Method
test_get_context
Test that get_context returns articles for the department.
magazine/tests.py:410
Method
test_get_context
(self)
magazine/tests.py:672
Method
test_get_context
Test that get_context returns blog posts ordered by publication date.
wf_pages/tests.py:23
Method
test_get_context
(self)
community/tests.py:82
Method
test_get_context
(self)
news/tests.py:71
Method
test_get_context_archive_issues_with_invalid_non_numeric_page_number
Make sure we get the first page when an invalid page number is provided.
magazine/tests.py:157
Method
test_get_context_archive_issues_with_invalid_numeric_page_number
Make sure we get the first page when an invalid page number is provided.
magazine/tests.py:137
Method
test_get_context_archive_issues_with_page_number
Make sure we get the second page of archive issues.
magazine/tests.py:117
Method
test_get_context_archive_issues_without_page_number
Make sure we get the first page when no page number is provided.
magazine/tests.py:98
Method
test_get_context_child_pages_are_instance_of_audience_index_page
(self)
facets/tests.py:262
Method
test_get_context_child_pages_are_instance_of_facet_index_page
(self)
facets/tests.py:241
Method
test_get_context_child_pages_are_instance_of_genre_index_page
(self)
facets/tests.py:283
Method
test_get_context_child_pages_are_instance_of_medium_index_page
(self)
facets/tests.py:304
Method
test_get_context_child_pages_are_instance_of_time_period_index_page
( self, )
facets/tests.py:325
Method
test_get_context_child_pages_are_instance_of_topic_index_page
(self)
facets/tests.py:348
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:235
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:256
Method
test_get_context_contains_child_pages
(self)
facets/tests.py:277
← previous
next →
301–400 of 616, ranked by callers