MCPcopy Create free account

hub / github.com/HermanMartinus/bearblog / functions

Functions831 in github.com/HermanMartinus/bearblog

Methodtest_h3
(self)
blogs/tests.py:1284
Methodtest_h6
(self)
blogs/tests.py:1288
Methodtest_heading_ids
Headings should get slugified IDs from the custom renderer.
blogs/tests.py:745
Methodtest_heading_with_bold
(self)
blogs/tests.py:1311
Methodtest_heading_with_inline_code
(self)
blogs/tests.py:1316
Methodtest_hide_adds_subdomain_to_hide_list
Authenticated user can hide a blog from their discover feed.
blogs/tests.py:303
Methodtest_highlight_css_contains_scoped_selectors
The CSS file should contain .highlight-scoped Pygments selectors.
blogs/tests.py:1527
Methodtest_highlight_css_exists
The highlight.css template include should exist.
blogs/tests.py:1521
Methodtest_hit_forbidden_returns_text_plain
(self)
blogs/tests.py:909
Methodtest_hit_success_returns_text_plain
(self, mock_country)
blogs/tests.py:916
Methodtest_horizontal_rule
(self)
blogs/tests.py:1866
Methodtest_html_escaped
(self)
blogs/tests.py:41
Methodtest_html_highlighting
(self)
blogs/tests.py:1505
Methodtest_html_tags_not_allowed
(self)
blogs/tests.py:46
Methodtest_ids_reset_between_calls
(self)
blogs/tests.py:1298
Methodtest_iframe_evil_domain_removed
(self)
blogs/tests.py:1814
Methodtest_iframe_google_docs_whitelisted
(self)
blogs/tests.py:1810
Methodtest_iframe_spotify_whitelisted
(self)
blogs/tests.py:1806
Methodtest_iframe_vimeo_whitelisted
(self)
blogs/tests.py:1802
Methodtest_iframe_youtube_whitelisted
(self)
blogs/tests.py:1798
Methodtest_image
(self)
blogs/tests.py:1870
Methodtest_include_and_exclude
(self)
blogs/tests.py:163
Methodtest_inline_code_preserved
(self)
blogs/tests.py:1858
Methodtest_inline_html_passthrough
(self)
blogs/tests.py:1432
Methodtest_inline_math_renders_mathml
(self)
blogs/tests.py:1444
Methodtest_inline_script_no_br
Backslash-n in inline script should NOT be converted to <br>.
blogs/tests.py:775
Methodtest_inline_script_no_typographic_replacements
(c) inside inline script should NOT become a copyright symbol.
blogs/tests.py:782
Methodtest_invalid_characters_stripped
(self)
blogs/tests.py:2538
Methodtest_invalid_date_ignored
Malformed dates should be silently ignored, returning all posts.
blogs/tests.py:200
Methodtest_invalid_language_fallback
(self)
blogs/tests.py:1485
Methodtest_invalid_signature_rejected
(self)
blogs/tests.py:2415
Methodtest_italic
(self)
blogs/tests.py:21
Methodtest_javascript_scheme_inside_tag_rejected
(self)
blogs/tests.py:2592
Methodtest_leading_dot_rejected
(self)
blogs/tests.py:2548
Methodtest_link_text_preserved
(self)
blogs/tests.py:1358
Methodtest_link_with_title
(self)
blogs/tests.py:1345
Methodtest_main_site_returns_none
(self)
blogs/tests.py:1054
Methodtest_many_code_blocks_no_collision
(self)
blogs/tests.py:1841
Methodtest_many_code_blocks_no_corruption
10+ code blocks should not suffer placeholder substring collision.
blogs/tests.py:819
Methodtest_mark
(self)
blogs/tests.py:1668
Methodtest_markdown_hard_break
(self)
blogs/tests.py:1415
Methodtest_math_starting_with_digit_preserved
(self)
blogs/tests.py:1166
Methodtest_middle_post_has_both
(self)
blogs/tests.py:2070
Methodtest_mixed
(self)
blogs/tests.py:88
Methodtest_mixed_formatting_and_xss
(self)
blogs/tests.py:52
Methodtest_mixed_pre_and_regular
Variables outside pre should be replaced, inside pre should not.
blogs/tests.py:2238
Methodtest_mixed_task_and_regular
(self)
blogs/tests.py:1687
Methodtest_multiline_block_math_unchanged
(self)
blogs/tests.py:1597
Methodtest_multiple_currency_pairs
(self)
blogs/tests.py:1602
Methodtest_multiple_footnotes
(self)
blogs/tests.py:1629
Methodtest_multiple_italic_segments
(self)
blogs/tests.py:57
Methodtest_multiple_levels
(self)
blogs/tests.py:1325
Methodtest_multiple_posts_directives
Multiple {{ posts }} directives in the same content should all be replaced.
blogs/tests.py:2170
Methodtest_multiple_scripts
Multiple script blocks should all be protected.
blogs/tests.py:805
Methodtest_multiple_variables_in_same_markup
(self)
blogs/tests.py:1976
Methodtest_nbsp
(self)
blogs/tests.py:33
Methodtest_nested_html_preserved
(self)
blogs/tests.py:1436
Methodtest_next_post_empty_for_latest
(self)
blogs/tests.py:2060
Methodtest_next_post_link
(self)
blogs/tests.py:2050
Methodtest_next_post_title_escaped
Post titles with special chars in nav links should be escaped.
blogs/tests.py:2077
Methodtest_no_formatting
(self)
blogs/tests.py:94
Methodtest_no_language_fallback
(self)
blogs/tests.py:1480
Methodtest_no_parentheses_unchanged
(self)
blogs/tests.py:1567
Methodtest_non_numeric_user_id_falls_back_to_email
(self)
blogs/tests.py:2447
Methodtest_non_staff_post_does_not_execute_admin_action
Non-staff user POST should not execute admin actions.
blogs/tests.py:294
Methodtest_nonexistent_subdomain_returns_404
(self)
blogs/tests.py:1067
Methodtest_normal_link
(self)
blogs/tests.py:1335
Methodtest_normal_link_unchanged
(self)
blogs/tests.py:1556
Methodtest_note_admonition
(self)
blogs/tests.py:1705
Methodtest_numeric_heading
(self)
blogs/tests.py:1307
Methodtest_old_double_dollar_inline_converted
(self)
blogs/tests.py:1189
Methodtest_only_invalid_characters_rejected
(self)
blogs/tests.py:2543
Methodtest_ordered_list
(self)
blogs/tests.py:1879
Methodtest_patch_blog_activate_user
(self)
blogs/tests.py:603
Methodtest_patch_blog_deactivate_user
(self)
blogs/tests.py:592
Methodtest_patch_blog_set_ignored_date
(self)
blogs/tests.py:618
Methodtest_phonogram_lowercase
(self)
blogs/tests.py:1391
Methodtest_phonogram_uppercase
(self)
blogs/tests.py:1395
Methodtest_ping_invalid_returns_text_plain
(self)
blogs/tests.py:885
Methodtest_ping_missing_domain_returns_text_plain
(self)
blogs/tests.py:890
Methodtest_ping_valid_returns_text_plain
(self)
blogs/tests.py:876
Methodtest_plain_subdomain_unchanged
(self)
blogs/tests.py:2513
Methodtest_plain_text_rejected
(self)
blogs/tests.py:2589
Methodtest_plain_text_unchanged
(self)
blogs/tests.py:17
Methodtest_plain_text_unchanged
(self)
blogs/tests.py:76
Methodtest_plus_minus
(self)
blogs/tests.py:1399
Methodtest_post_description_html_escaped
Post description with HTML should be escaped.
blogs/tests.py:1963
Methodtest_post_description_replaced
(self)
blogs/tests.py:1929
Methodtest_post_link_replaced
(self)
blogs/tests.py:1938
Methodtest_post_published_date_replaced
(self)
blogs/tests.py:1934
Methodtest_post_title_replaced
(self)
blogs/tests.py:1924
Methodtest_post_variables_not_replaced_without_post
Post-specific variables should remain if no post is provided.
blogs/tests.py:1971
Methodtest_post_with_tags_has_data_tags_attribute
(self)
blogs/tests.py:221
Methodtest_post_without_tags_has_empty_data_tags
(self)
blogs/tests.py:230
Methodtest_posts_content_ignored_on_regular_posts
content:True should NOT render full content when context post is not a page.
blogs/tests.py:2192
Methodtest_posts_content_only_on_pages
content:True should only render full content when post context is a page.
blogs/tests.py:2181
Methodtest_posts_directive_inside_code_not_replaced
{{ posts }} inside a code block should not be replaced with a post list.
blogs/tests.py:2246
Methodtest_posts_directive_with_surrounding_content
The directive should only replace the {{ posts ... }} part.
blogs/tests.py:2163
Methodtest_posts_excludes_drafts
Unpublished posts should not appear in {{ posts }}.
blogs/tests.py:2147
Methodtest_posts_excludes_pages
Pages (is_page=True) should not appear in {{ posts }}.
blogs/tests.py:2155
← previousnext →601–700 of 831, ranked by callers