MCPcopy Create free account

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

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

Methodtest_revoke_foreign_org_key_404s
Trying to revoke a key in another org must 404, not silently succeed and not 500.
apps/api_keys/tests/test_views.py:435
Methodtest_revoked_token_returns_none
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:228
Methodtest_round_trip
A freshly issued token parses back to the same lookup_prefix.
apps/api_keys/tests/test_services.py:142
Functiontest_round_trip_for_every_aliased_platform
()
tests/test_oauth_aliases.py:37
Methodtest_row_with_no_extra_is_omitted
(self, mock_request)
tests/providers/test_youtube.py:173
Methodtest_s256_method_allowed
(self)
apps/oauth_server/tests.py:142
Methodtest_same_header_same_body_replays
(self, owner_client, social_account)
apps/api/tests/test_review_fixes_round2.py:464
Methodtest_same_key_different_body_is_422
(self, client_with_token, social_account)
apps/api/tests/test_routers.py:341
Methodtest_same_key_same_body_replays
(self, client_with_token, social_account)
apps/api/tests/test_routers.py:326
Methodtest_same_workspace_edit_succeeds
(self)
apps/approvals/test_security.py:72
Methodtest_save_draft_blank_clears_proposed
(self)
apps/composer/tests/test_proposed_publish_at.py:124
Methodtest_save_draft_captures_proposed_in_workspace_tz
(self)
apps/composer/tests/test_proposed_publish_at.py:105
Methodtest_save_draft_on_scheduled_post_leaves_schedule_untouched
(self)
apps/composer/tests/test_proposed_publish_at.py:174
Functiontest_save_leaves_incomplete_row_inactive
(organization)
apps/credentials/tests.py:63
Functiontest_save_sets_is_configured_from_credentials
(organization)
apps/credentials/tests.py:52
Functiontest_save_update_fields_persists_derived_flag
(organization)
apps/credentials/tests.py:324
Methodtest_schedule_action_ignores_proposed
(self, client_with_token, social_account)
apps/api/tests/test_routers.py:697
Methodtest_schedule_clears_proposed_and_sets_scheduled
(self)
apps/composer/tests/test_proposed_publish_at.py:148
Methodtest_schedule_draft_clears_proposed
(self, client_with_token, social_account)
apps/mcp/tests/test_rest_parity.py:465
Methodtest_schedule_foreign_account_post_is_404
(self, client_with_token, out_of_scope_post)
apps/api/tests/test_routers.py:489
Methodtest_schedule_route_blocked_when_workspace_requires_approval
( self, user, workspace_owner, workspace, social_account )
apps/api/tests/test_review_fixes_round2.py:206
Methodtest_schedule_route_clears_proposed
(self, client_with_token, social_account)
apps/api/tests/test_routers.py:731
Methodtest_schedule_route_rejected_without_publish_directly
( self, write_only_client, write_only_membership, workspace, social_account )
apps/api/tests/test_review_fixes_round2.py:174
Methodtest_scheduled_post_is_picked_up_by_publisher
(self, client_with_token, social_account)
apps/api/tests/test_e2e.py:142
Methodtest_scheduled_rows_do_count_against_quota
Sanity check: once the 25 scheduled rows exist, the 26th 429s. Exercises the upper bound of the new filtered count so the regression
apps/api/tests/test_routers.py:580
Methodtest_scheduling_clears_proposed
(self)
apps/composer/tests/test_proposed_publish_at.py:65
Methodtest_scheduling_edited_approved_post_does_not_publish
(self)
apps/approvals/test_workflow.py:321
Methodtest_scheduling_unchanged_approved_post_still_schedules
(self)
apps/approvals/test_workflow.py:340
Methodtest_scoped_autosave_keeps_published_sibling_and_logs
(self)
apps/composer/tests/test_account_scope.py:103
Methodtest_scoped_publish_now_does_not_reschedule_published_sibling
(self)
apps/composer/tests/test_account_scope.py:193
Methodtest_scoped_publish_now_does_not_touch_draft_sibling
(self)
apps/composer/tests/test_account_scope.py:179
Methodtest_scoped_save_keeps_published_sibling
(self)
apps/composer/tests/test_account_scope.py:96
Methodtest_scopes_are_publish_plus_video_analytics_only
(self)
tests/providers/test_tiktok.py:32
Methodtest_search_media_returns_completed_assets
(self, client_with_token, seeded_assets)
apps/api/tests/test_media_router.py:412
Methodtest_selected_pinterest_account_requires_board
(self)
apps/composer/tests/test_account_scope.py:291
Methodtest_selected_pinterest_account_saves_board
(self)
apps/composer/tests/test_account_scope.py:297
Methodtest_self_only_post_allowed_when_unaudited
(self, mock_request)
tests/providers/test_tiktok.py:437
Methodtest_sends_code_verifier_when_given
(self, mock_request)
tests/providers/test_tiktok.py:60
Methodtest_session_id_unique
(self)
apps/intelligence/tests/test_models.py:125
Methodtest_session_providers_raise_on_get_auth_url
Bluesky (session auth) should raise on OAuth methods.
tests/providers/test_base.py:90
Methodtest_sets_and_clears_expiry
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:556
Methodtest_sets_name_from_google_profile
(self, adapter, google_sociallogin, request_factory)
apps/accounts/tests/test_adapters.py:37
Methodtest_shows_connected_accounts
(self, authenticated_client, workspace)
apps/social_accounts/tests/test_views.py:72
Methodtest_shows_empty_state
(self, authenticated_client, workspace)
apps/social_accounts/tests/test_views.py:83
Methodtest_sign_and_unsign_state
(self)
apps/social_accounts/tests/test_views.py:40
Methodtest_single_message_charges_exactly_one_token
(self, owner_client, monkeypatch)
apps/api/tests/test_review_fixes_round2.py:393
Methodtest_skips_accounts_flagged_for_reconnect
An account already flagged ``analytics_needs_reconnect`` must not trigger another Analytics-API account-metrics attempt (the call that
apps/analytics/tests/test_tasks.py:34
Methodtest_slot_mutation_denied_for_member_without_manage_permission
A workspace member whose role lacks manage_social_accounts cannot mutate posting slots, even though they pass the membership check.
apps/calendar/tests.py:227
Functiontest_social1_slug_resolves_back_to_tiktok
()
tests/test_oauth_aliases.py:20
Methodtest_status_color
(self)
apps/composer/tests/__init__.py:70
Methodtest_stores_data_json
(self, user)
apps/notifications/tests.py:71
Methodtest_stores_provider_email
(self, adapter, user)
apps/accounts/tests/test_adapters.py:85
Methodtest_str_representation
(self)
apps/composer/tests/__init__.py:133
Methodtest_str_representation
(self)
apps/publisher/tests.py:89
Methodtest_str_representation
(self)
apps/calendar/tests.py:43
Methodtest_str_representation
(self, social_account)
apps/social_accounts/tests/test_models.py:50
Methodtest_str_representation
(self, db)
apps/social_accounts/tests/test_models.py:157
Methodtest_str_representation
(self)
apps/media_library/tests/test_models_and_filters.py:52
Methodtest_streams_bytes_with_mime_type
(self)
apps/composer/tests/test_media_stream.py:59
Methodtest_string_publicaly_available_post_id_defended
(self, mock_request)
tests/providers/test_tiktok.py:262
Methodtest_strips_and_dedupes
(self)
apps/common/tests/test_validators.py:63
Methodtest_strips_whitespace
(self)
apps/common/tests/test_validators.py:110
Methodtest_strips_whitespace
(self)
apps/media_library/tests/test_tag_endpoints.py:74
Methodtest_strips_whitespace_and_dedupes
(self)
apps/common/tests/test_validators.py:46
Methodtest_strips_whitespace_and_dedupes
(self)
apps/media_library/tests/test_models_and_filters.py:149
Methodtest_submit_approve_client_hold_path
(self)
apps/approvals/test_workflow.py:155
Methodtest_submit_for_approval_with_blank_panel_preserves_proposed
(self)
apps/composer/tests/test_proposed_publish_at.py:237
Methodtest_success_updates_permissions_accounts_and_expiry
(self, admin_client, admin_user, workspace, social_account)
apps/api_keys/tests/test_views.py:516
Methodtest_successful_health_check
(self, mock_get_provider, connected_account)
apps/social_accounts/tests/test_tasks.py:54
Methodtest_suffix_range_returns_last_bytes
(self)
apps/composer/tests/test_media_stream.py:80
Methodtest_svg_not_in_allowed_extensions
(self)
apps/media_library/tests/test_security.py:29
Methodtest_svg_not_in_allowed_mimes
(self)
apps/media_library/tests/test_security.py:26
Methodtest_swallows_404_as_noop
(self)
apps/intelligence/tests/test_discard_checkout.py:121
Methodtest_sweep_deletes_old_rows_only
(self, issued_key)
apps/api/tests/test_e2e.py:210
Functiontest_sync_account_metrics_does_not_backfill_followers_total
The cumulative followers total must be written for the current day only, not backfilled into past dates (which would fabricate flat follower histo
apps/analytics/tests/test_tasks.py:83
Functiontest_sync_account_metrics_recovers_followers_from_later_offset
If on_date's own fetch returns followers=None but a later offset fetches the current total, it must still be written to on_date (not dropped).
apps/analytics/tests/test_tasks.py:121
Functiontest_sync_account_metrics_refreshes_empty_follower_count_when_today_rows_exist
Existing daily account snapshots must not strand the header follower total at 0. This commonly affects Facebook accounts connected before ``fo
apps/analytics/tests/test_tasks.py:163
Methodtest_tags_filter_is_and_semantics
(self, client_with_token, seeded_assets)
apps/api/tests/test_media_router.py:318
Methodtest_tampered_state_raises
(self)
apps/social_accounts/tests/test_views.py:53
Methodtest_terminal_states_do_not_block_new_attempt
(self)
apps/intelligence/tests/test_models.py:86
Methodtest_threads_max_caption
(self)
tests/providers/test_base.py:138
Methodtest_tiktok_callback_replays_pkce_verifier
The verifier stashed at connect is read from the session and replayed on the TikTok token exchange (callback arrives at the ``social1`` slug).
apps/social_accounts/tests/test_views.py:245
Methodtest_tiktok_catalog_is_video_only
(self)
tests/providers/test_tiktok.py:352
Methodtest_tiktok_followers_are_not_persisted
(self)
tests/providers/test_tiktok.py:332
Functiontest_tiktok_maps_to_social1
()
tests/test_oauth_aliases.py:16
Methodtest_tiktok_settings_round_trip_into_platform_extra
(self)
apps/composer/tests/test_account_scope.py:209
Functiontest_tiktok_slug_still_resolves_for_backwards_compatibility
()
tests/test_oauth_aliases.py:24
Functiontest_token_expired_error_maps_to_reconnect
()
apps/social_accounts/tests/test_error_messages.py:18
Methodtest_token_for_user_without_workspace_returns_401
(self)
apps/mcp/tests/test_oauth_auth.py:146
Methodtest_token_refresh_on_expiring
(self, mock_get_provider, connected_account)
apps/social_accounts/tests/test_tasks.py:131
Functiontest_tools_list_advertises_presigned_tools
()
apps/mcp/tests/test_presigned_tools.py:219
Methodtest_tools_list_includes_analytics_tools
(self, analytics_client)
apps/mcp/tests/test_transport.py:688
Methodtest_tools_list_returns_registered_tools
(self, client_with_token)
apps/mcp/tests/test_transport.py:254
Methodtest_transition_to_invalid_raises
(self)
apps/composer/tests/__init__.py:43
Methodtest_transition_to_published_sets_published_at
(self)
apps/composer/tests/__init__.py:49
Methodtest_truncates_count_to_max_tags
(self)
apps/common/tests/test_validators.py:66
Methodtest_truncates_overlong_tag
(self)
apps/common/tests/test_validators.py:73
Methodtest_two_stage_defers_approved_notification_to_client_signoff
(self)
apps/approvals/test_workflow.py:172
Methodtest_two_tokens_have_distinct_secrets
(self, workspace, workspace_owner, social_account)
apps/api_keys/tests/test_services.py:168
Methodtest_unaudited_options_block_explicit_public_post_before_init
(self, mock_request)
tests/providers/test_tiktok.py:407
← previousnext →2,901–3,000 of 3,156, ranked by callers