MCPcopy Create free account

hub / github.com/brightbeanxyz/brightbean-studio / functions

Functions3,156 in github.com/brightbeanxyz/brightbean-studio

FunctiontearDownModule
()
apps/composer/tests/test_media_stream.py:21
FunctiontearDownModule
()
apps/composer/tests/test_unsplash.py:28
Functiontemplate_delete
Delete a post template.
apps/composer/views.py:3032
Functiontemplate_list
Settings page for managing post templates.
apps/composer/views.py:2977
Functiontemplate_picker
HTMX partial returning list of templates for the picker modal.
apps/composer/views.py:3046
Methodtest_30_tags_truncated_to_max
(self)
apps/composer/tests/test_save_post_tags.py:59
Methodtest_400_with_activation_code_is_activation_rejected
(self)
apps/intelligence/tests/test_internal_client_signing.py:265
Methodtest_400_with_unknown_code_is_bad_request
(self)
apps/intelligence/tests/test_internal_client_signing.py:255
Methodtest_402_raises_insufficient_credits
(self)
apps/intelligence/tests/test_internal_client_signing.py:170
Methodtest_403_deployment_not_authorized
(self)
apps/intelligence/tests/test_internal_client_signing.py:236
Methodtest_403_writes_audit_row
A request that hits ``_resolve_account``'s allowlist 403 still leaves a trail.
apps/api/tests/test_review_fixes.py:427
Methodtest_404_raises_not_found
``get_account`` does not swallow 404 (unlike pending_activation).
apps/intelligence/tests/test_internal_client_signing.py:178
Methodtest_404_writes_audit_row
Codex regression: only success paths used to audit-log; an authenticated 404 (e.g. allowlist-blocked post lookup) wrote nothing. Now t
apps/api/tests/test_review_fixes.py:411
Methodtest_409_equivalent_when_no_drafts_to_schedule
(self, client_with_token, scheduled_post)
apps/mcp/tests/test_transport.py:484
Methodtest_409_raises_conflict_with_retry_after
(self)
apps/intelligence/tests/test_internal_client_signing.py:196
Methodtest_410_raises_activation_rejected
(self)
apps/intelligence/tests/test_internal_client_signing.py:209
Methodtest_413_when_quota_exceeded
(self, settings, client_with_token)
apps/api/tests/test_media_router.py:183
Methodtest_422_on_foreign_media_does_not_commit_scheduled_at_change
Codex regression: scheduled_children.update() ran BEFORE media validation, so a 422 from a foreign media UUID committed the new schedu
apps/api/tests/test_review_fixes.py:327
Methodtest_429_carries_retry_after
(self)
apps/intelligence/tests/test_internal_client_signing.py:223
Methodtest_500_raises_service_unavailable
(self)
apps/intelligence/tests/test_internal_client_signing.py:247
Methodtest_accepts_at_limit
(self)
apps/common/tests/test_validators.py:34
Methodtest_accepts_at_limit
(self)
apps/media_library/tests/test_models_and_filters.py:137
Methodtest_accepts_empty_string
(self)
apps/common/tests/test_validators.py:195
Methodtest_accepts_lowercase_hex
(self)
apps/common/tests/test_validators.py:185
Methodtest_accepts_none
(self)
apps/common/tests/test_validators.py:200
Methodtest_accepts_public_http
(self, mock_getaddrinfo)
apps/common/tests/test_validators.py:177
Methodtest_accepts_public_https
(self, mock_getaddrinfo)
apps/common/tests/test_validators.py:172
Methodtest_accepts_public_url
(self, user)
apps/notifications/tests.py:294
Methodtest_accepts_uppercase_hex
(self)
apps/common/tests/test_validators.py:190
Methodtest_account_allowlist_swap_persists
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:513
Methodtest_account_analytics_bodies_match
(self, analytics_client, instagram_account, published_ig_post)
apps/mcp/tests/test_rest_parity.py:311
Methodtest_account_analytics_tool_requires_view_analytics
(self, analytics_client_no_perm, instagram_account)
apps/mcp/tests/test_rest_parity.py:391
Functiontest_account_bundle_keeps_account_reach_instead_of_summing_post_reach
(facebook_account)
apps/analytics/tests/test_services.py:79
Functiontest_account_bundle_prefers_fresher_post_fallback_for_content_metrics
Per-post Facebook analytics can refresh hourly while account snapshots are daily. The main graph should use the fresher post-derived value instead
apps/analytics/tests/test_services.py:44
Functiontest_account_metrics_followers_none_when_profile_fetch_fails
A transient profile-fetch failure must yield followers=None (not 0) so the analytics layer can skip it instead of writing a poisoning 0 snapshot f
tests/providers/test_instagram.py:295
Functiontest_account_metrics_to_dict_instagram_emits_followers_not_profile_visits
A1+A3: Instagram no longer emits the deprecated ``profile_visits``; follower growth is carried by the ``followers`` total (derived to a daily delt
apps/analytics/tests/test_tasks.py:51
Functiontest_account_metrics_to_dict_skips_followers_when_none
A failed IG profile fetch yields followers=None; the mapper must skip it so no spurious 0-followers snapshot poisons the growth series.
apps/analytics/tests/test_tasks.py:68
Functiontest_account_metrics_use_current_instagram_insights_metrics
()
tests/providers/test_instagram.py:103
Methodtest_account_not_in_allowlist_is_403
(self, client_with_token, foreign_account)
apps/api/tests/test_analytics_router.py:302
Methodtest_account_outside_allowlist_is_403
(self, client_with_token, foreign_account)
apps/api/tests/test_routers.py:260
Methodtest_account_outside_workspace_rejected
Social account from a different workspace must not be accepted even if the workspace_id is legitimate.
apps/api_keys/tests/test_views.py:366
Methodtest_account_unavailable_when_platform_disabled
(self, client_with_token, instagram_account)
apps/api/tests/test_analytics_router.py:471
Methodtest_accounts_endpoint_surfaces_same_capabilities
(self, client)
apps/api/tests/test_account_capabilities.py:151
Methodtest_accounts_lists_allowlisted_only
(self, client_with_token, social_account)
apps/api/tests/test_routers.py:172
Methodtest_active_key_row_uses_modal_not_native_confirm
An active key renders the Alpine revoke-confirmation modal rather than the old native ``confirm()`` dialog. ``_key_row.html`` is the
apps/api_keys/tests/test_views.py:152
Methodtest_add_next_available_upserts_existing_entry
(self)
apps/calendar/tests.py:1018
Methodtest_add_to_queue_ignores_prefilled_schedule_date_as_floor
(self)
apps/composer/tests/test_proposed_publish_at.py:317
Methodtest_add_to_queue_leaves_published_entry_in_the_past
(self)
apps/calendar/tests.py:363
Methodtest_add_to_queue_new_post_uses_global_next_slot
(self)
apps/composer/tests/test_proposed_publish_at.py:378
Methodtest_add_to_queue_priority_ignores_prefilled_schedule_date_as_floor
(self)
apps/composer/tests/test_proposed_publish_at.py:348
Functiontest_admin_add_page_renders_editable_credentials_for_superuser
(client)
apps/credentials/tests.py:244
Methodtest_admin_admits_billing_view
(self)
apps/members/tests/test_org_permissions.py:128
Functiontest_admin_blocked_for_non_superuser_staff
(client)
apps/credentials/tests.py:260
Methodtest_admin_can_view_list
(self, admin_client)
apps/api_keys/tests/test_views.py:145
Methodtest_admin_cannot_demote_owner
(self)
apps/members/tests/test_role_hierarchy.py:230
Methodtest_admin_cannot_invite_as_admin
(self)
apps/members/tests/test_role_hierarchy.py:89
Methodtest_admin_cannot_invite_as_owner_of_workspace_they_only_view
(self)
apps/members/tests/test_role_hierarchy.py:61
Methodtest_admin_cannot_invite_into_workspace_they_dont_belong_to
(self)
apps/members/tests/test_role_hierarchy.py:75
Methodtest_admin_cannot_promote_member_to_admin
(self)
apps/members/tests/test_role_hierarchy.py:238
Functiontest_admin_form_excludes_credential_less_platforms
()
apps/credentials/tests.py:214
Functiontest_admin_form_rejects_missing_required_keys
(organization)
apps/credentials/tests.py:189
Functiontest_admin_form_rejects_non_object_json
(organization)
apps/credentials/tests.py:202
Functiontest_admin_form_round_trip_persists_dict_and_activates
(organization)
apps/credentials/tests.py:172
Methodtest_admin_has_all_permissions
(self)
apps/members/tests/test_org_permissions.py:48
Methodtest_admin_is_not_offered_the_admin_role
(self)
apps/members/tests/test_role_hierarchy.py:150
Methodtest_admin_who_is_also_owner_can_change_owner_to_viewer
(self)
apps/members/tests/test_role_hierarchy.py:299
Methodtest_admin_with_manager_role_can_invite_editor
(self)
apps/members/tests/test_role_hierarchy.py:118
Methodtest_all_failed_is_failed
(self)
apps/composer/tests/__init__.py:93
Methodtest_all_frames_fail_returns_502
(self, mock_extract)
apps/composer/tests/test_media_stream.py:164
Methodtest_all_registry_values_are_provider_subclasses
(self)
tests/providers/test_base.py:31
Methodtest_all_same_returns_that_status
(self)
apps/composer/tests/__init__.py:85
Methodtest_all_three_fields_persist_to_platform_specific_columns
(self, client_with_token, social_account)
apps/api/tests/test_platform_overrides.py:103
Methodtest_anonymous_redirected_to_login
(self)
apps/members/tests/test_org_permissions.py:107
Methodtest_anonymous_redirects_to_login
(self, client)
apps/api_keys/tests/test_views.py:203
Functiontest_api_error_401_maps_to_reconnect
()
apps/social_accounts/tests/test_error_messages.py:30
Functiontest_api_error_403_maps_to_reconnect
()
apps/social_accounts/tests/test_error_messages.py:35
Functiontest_api_error_5xx_maps_to_platform_unavailable
()
apps/social_accounts/tests/test_error_messages.py:49
Methodtest_apply_snaps_only_the_corrupt_row_to_published_at
(self)
apps/calendar/tests.py:481
Methodtest_approve_noop_warns_without_refresh
(self)
apps/approvals/test_workflow.py:71
Methodtest_approve_returns_toast_and_refresh
(self)
apps/approvals/test_workflow.py:60
Methodtest_aspect_ratio
(self)
apps/media_library/tests/test_models_and_filters.py:29
Methodtest_aspect_ratio_none_when_no_dimensions
(self)
apps/media_library/tests/test_models_and_filters.py:35
Methodtest_attaching_media_reverts_approved
(self)
apps/approvals/test_workflow.py:378
Methodtest_authorization_server_metadata
(self)
apps/oauth_server/tests.py:92
Methodtest_autosave_edit_reverts_approved
(self)
apps/approvals/test_workflow.py:357
Functiontest_bare_exception_maps_to_generic_message
()
apps/social_accounts/tests/test_error_messages.py:59
Methodtest_batch_audits_every_message
Batch dispatch must audit every message (including notifications) and charge the rate limit per message. Notification audit was previo
apps/mcp/tests/test_review_fixes.py:239
Methodtest_batch_of_two_charges_exactly_two_tokens
Codex P5 regression: the top-of-endpoint ``enforce_http_rate_limits`` and the per-message loop both ran, so a batch of N messages cost
apps/api/tests/test_review_fixes_round2.py:362
Methodtest_batch_of_two_returns_array_of_two
(self, client_with_token)
apps/mcp/tests/test_transport.py:233
Methodtest_billing_email_blank_by_default
(self)
apps/organizations/tests/test_intelligence_attrs.py:11
Methodtest_billing_email_can_be_set
(self)
apps/organizations/tests/test_intelligence_attrs.py:15
Methodtest_blank_cover_timestamp_omitted
(self)
apps/composer/tests/test_unsplash.py:397
Methodtest_blank_page_access_token_falls_back_to_user_token
(self, authenticated_client, workspace)
apps/social_accounts/tests/test_views.py:271
Methodtest_blank_workspace_id_returns_empty
(self, admin_client)
apps/api_keys/tests/test_views.py:229
Methodtest_blocked_ip_short_circuits_before_verify_token
Codex P4 regression: once the failed-auth budget is exhausted, further attempts from the same IP must NOT call verify_token (which doe
apps/api/tests/test_routers.py:624
Methodtest_bluesky_auth_type_is_session
(self)
tests/providers/test_base.py:142
Methodtest_bluesky_bootstrap_refresh_when_expires_at_null
Legacy Bluesky accounts with token_expires_at=NULL should still refresh.
apps/social_accounts/tests/test_tasks.py:235
Functiontest_bluesky_expired_token_in_raw_response_maps_to_reconnect
()
apps/social_accounts/tests/test_error_messages.py:40
Methodtest_bluesky_max_caption
(self)
tests/providers/test_base.py:134
Methodtest_bluesky_safe_pds_url_is_injected
(self, _mock_resolve, _mock_is_safe_url)
apps/publisher/tests.py:224
← previousnext →2,101–2,200 of 3,156, ranked by callers