Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightbeanxyz/brightbean-studio
/ functions
Functions
3,156 in github.com/brightbeanxyz/brightbean-studio
⨍
Functions
3,156
◇
Types & classes
668
↳
Endpoints
120
Method
test_invalid_state_shows_error
(self, authenticated_client)
apps/social_accounts/tests/test_views.py:211
Method
test_is_editable
(self)
apps/composer/tests/__init__.py:57
Method
test_is_idempotent
(self, adapter, user, google_sociallogin)
apps/accounts/tests/test_adapters.py:79
Method
test_is_image
(self)
apps/media_library/tests/test_models_and_filters.py:17
Method
test_is_not_rate_limited_when_zero_remaining_and_window_expired
(self)
apps/publisher/tests.py:23
Method
test_is_not_rate_limited_with_remaining_requests
(self)
apps/publisher/tests.py:29
Method
test_is_rate_limited_when_zero_remaining_and_window_active
(self)
apps/publisher/tests.py:17
Method
test_is_schedulable
(self)
apps/composer/tests/__init__.py:65
Method
test_is_starred_filter
(self, client_with_token, seeded_assets)
apps/api/tests/test_media_router.py:313
Method
test_is_token_expiring_soon_false
(self, social_account)
apps/social_accounts/tests/test_models.py:98
Method
test_is_token_expiring_soon_no_expiry
(self, social_account)
apps/social_accounts/tests/test_models.py:103
Method
test_is_token_expiring_soon_true
(self, social_account)
apps/social_accounts/tests/test_models.py:93
Method
test_is_video
(self)
apps/media_library/tests/test_models_and_filters.py:23
Function
test_is_video_url_ignores_query_string
Presigned URLs carry query strings; the check must look at the path only.
tests/providers/test_facebook.py:140
Method
test_issue_form_handles_bad_uuid
(self, client, user)
apps/api/tests/test_review_fixes_round2.py:435
Method
test_issue_redirects_and_reload_does_not_resurface_or_reissue
Post/Redirect/Get: issuing lands on the list (not the POST endpoint), reveals the token exactly once, and a reload neither re-shows th
apps/api_keys/tests/test_views.py:297
Method
test_issuer_deleted_returns_none
If the issuer is hard-deleted, ``issued_by`` is set to NULL by ``on_delete=SET_NULL``. verify_token must reject the now-orphaned key.
apps/api_keys/tests/test_services.py:279
Method
test_issuer_loses_workspace_membership_returns_none
Regression test for Codex P1#2 — the model contract says "if they lose membership the key dies on next use"; verify_token must enforce
apps/api_keys/tests/test_services.py:254
Method
test_just_connected_account_returns_empty_with_soon_eta
(self, client_with_token, instagram_account)
apps/api/tests/test_analytics_router.py:267
Method
test_key_with_view_analytics_already_is_idempotent
(self, workspace)
apps/api_keys/tests/test_migration_0002.py:77
Method
test_key_without_view_analytics_is_403
Locks in the ``view_analytics`` permission gate the router enforces.
apps/api/tests/test_analytics_router.py:321
Method
test_key_without_view_analytics_is_403
Permission gate fires before the post lookup — even own posts are 403.
apps/api/tests/test_analytics_router.py:455
Method
test_last_used_at_null_when_never_referenced
(self, client_with_token, seeded_assets)
apps/api/tests/test_media_router.py:381
Method
test_last_used_at_populated_when_referenced
The annotation must walk through PostMedia → Post.created_at because PostMedia has no created_at of its own.
apps/api/tests/test_media_router.py:366
Method
test_legacy_asset_with_null_organization_serializes
Regression: ``MediaAsset.organization`` is nullable (legacy / pre-migration rows can have org=NULL). The list endpoint hit a 500 on st
apps/api/tests/test_media_router.py:339
Method
test_linkedin_company_max_caption
(self)
tests/providers/test_base.py:130
Method
test_linkedin_personal_max_caption
(self)
tests/providers/test_base.py:126
Method
test_list_accounts_resolves_active_workspace
(self)
apps/mcp/tests/test_oauth_auth.py:174
Method
test_list_renders_edit_modal
(self, admin_client, admin_user, workspace, social_account)
apps/api_keys/tests/test_views.py:630
Method
test_lookahead_horizon_uses_workspace_local_date
(self)
apps/calendar/tests.py:738
Method
test_malformed_account_id_redirects_not_500
A tampered, non-UUID ``social_account_ids`` must yield a graceful validation error + redirect, not a 500 from UUIDField coercion.
apps/api_keys/tests/test_views.py:393
Method
test_malformed_account_id_redirects_not_500
A tampered, non-UUID ``social_account_ids`` must redirect with a validation error and leave the key untouched — not 500.
apps/api_keys/tests/test_views.py:639
Method
test_malformed_account_param_renders_unscoped
(self)
apps/composer/tests/test_account_scope.py:147
Method
test_malformed_scope_rejected_with_400
(self)
apps/composer/tests/test_account_scope.py:138
Method
test_malformed_token_returns_401
(self)
apps/api/tests/test_routers.py:145
Method
test_malformed_tokens_return_none
(self)
apps/api_keys/tests/test_services.py:156
Method
test_malicious_tag_is_escaped_in_x_data
(self)
apps/media_library/tests/test_models_and_filters.py:111
Method
test_manage_workspace_targets_are_unique_per_member
(self)
apps/members/tests/test_role_hierarchy.py:189
Method
test_management_command_applies_repair
(self)
apps/calendar/tests.py:512
Method
test_mark_all_read_endpoint
(self, client, user)
apps/notifications/tests.py:181
Method
test_mark_as_read
(self, user)
apps/notifications/tests.py:118
Method
test_mark_as_read_endpoint
(self, client, user)
apps/notifications/tests.py:168
Method
test_mastodon_auth_type_is_instance_oauth
(self)
tests/providers/test_base.py:146
Method
test_mastodon_health_check_injects_instance_url_without_registration
( self, mock_get_provider, _mock_is_safe_url, workspace )
apps/social_accounts/tests/test_tasks.py:93
Function
test_mastodon_sync_passes_per_account_instance_url
(workspace)
apps/inbox/tests/test_sync.py:78
Method
test_mcp_get_post_and_rest_get_post_return_identical_bodies
(self, client_with_token, scheduled_post)
apps/mcp/tests/test_rest_parity.py:138
Method
test_mcp_list_accounts_tool_surfaces_same_capabilities
MCP list_accounts must mirror REST or agents that route through the MCP surface get a different capability picture for the same accoun
apps/api/tests/test_account_capabilities.py:158
Method
test_mcp_payload_includes_gap_4_fields
Gap 4: ``created_at``, ``updated_at``, ``platform_post_id`` were previously absent on the MCP side.
apps/mcp/tests/test_rest_parity.py:164
Method
test_mcp_schedule_post_lands_in_scheduled
(self, client_with_token, social_account)
apps/api/tests/test_e2e.py:438
Method
test_mcp_scheduled_at_uses_z_suffix_for_utc
Gap 5: MCP used to emit ``+00:00``; both surfaces now emit ``Z``.
apps/mcp/tests/test_rest_parity.py:217
Method
test_me_echoes_scope
(self, client_with_token, workspace, issued_key, social_account)
apps/api/tests/test_routers.py:162
Method
test_me_endpoint_surfaces_storage_block
(self, client_with_token)
apps/api/tests/test_media_router.py:247
Method
test_me_read_logs_me_read
(self, client_with_token)
apps/api/tests/test_e2e.py:422
Method
test_me_surfaces_capabilities_per_platform
(self, client)
apps/api/tests/test_account_capabilities.py:124
Method
test_media_type_filter
(self, client_with_token, seeded_assets)
apps/api/tests/test_media_router.py:308
Method
test_member_admits_tool_view
(self)
apps/members/tests/test_org_permissions.py:152
Method
test_member_can_use_but_not_manage_billing
(self)
apps/members/tests/test_org_permissions.py:55
Method
test_member_denied_billing_view
(self)
apps/members/tests/test_org_permissions.py:139
Method
test_member_without_manage_api_keys_is_forbidden
(self, member_user, member_membership)
apps/api_keys/tests/test_views.py:186
Method
test_member_without_manage_api_keys_is_forbidden
(self, member_client)
apps/api_keys/tests/test_views.py:509
Method
test_member_without_permission_gets_403
(self)
apps/intelligence/tests/test_discard_checkout.py:185
Method
test_missing_authorization_header_returns_401
(self)
apps/api/tests/test_routers.py:140
Method
test_missing_bearer_returns_401
(self)
apps/mcp/tests/test_transport.py:159
Method
test_missing_board_field_preserves_existing_board
(self)
apps/composer/tests/test_account_scope.py:304
Method
test_missing_code_shows_error
(self, authenticated_client)
apps/social_accounts/tests/test_views.py:206
Method
test_missing_fields_default_to_zero
(self, mock_request)
tests/providers/test_tiktok.py:147
Method
test_missing_name_is_rejected
(self, admin_client, workspace, social_account)
apps/api_keys/tests/test_views.py:331
Method
test_missing_object_reports_incomplete_upload
(self, s3_seam)
apps/mcp/tests/test_presigned_tools.py:168
Method
test_missing_org_id_in_url_raises
(self)
apps/members/tests/test_org_permissions.py:188
Method
test_missing_query_returns_400
(self)
apps/composer/tests/test_unsplash.py:114
Method
test_missing_required_arguments_returns_invalid_params
(self, client_with_token)
apps/mcp/tests/test_transport.py:344
Method
test_missing_required_field_returns_invalid_params
(self, client_with_token)
apps/mcp/tests/test_review_fixes.py:146
Method
test_missing_scheduled_at_returns_invalid_params
(self, client_with_token, draft_post)
apps/mcp/tests/test_transport.py:501
Method
test_missing_video_returns_empty_metrics
(self, mock_request)
tests/providers/test_tiktok.py:132
Method
test_mixed_pending_post_exposes_client_actions
(self)
apps/approvals/test_workflow.py:465
Method
test_mixed_platform_post_reports_per_child
(self, client_with_token, mixed_platform_post)
apps/api/tests/test_analytics_router.py:433
Method
test_mixed_terminal_published_failed_is_partially_published
(self)
apps/composer/tests/__init__.py:90
Method
test_mixed_workflow_returns_lowest
(self)
apps/composer/tests/__init__.py:96
Method
test_needs_reconnect_connected
(self, social_account)
apps/social_accounts/tests/test_models.py:115
Method
test_needs_reconnect_disconnected
(self, social_account)
apps/social_accounts/tests/test_models.py:111
Method
test_needs_reconnect_error
(self, social_account)
apps/social_accounts/tests/test_models.py:107
Method
test_next_available_fills_first_gap
(self)
apps/calendar/tests.py:930
Method
test_next_available_leaves_occupied_entries_unchanged
(self)
apps/calendar/tests.py:941
Function
test_no_alias_value_collides_with_a_real_platform_name
()
tests/test_oauth_aliases.py:45
Method
test_no_attempt_anywhere_is_a_noop_with_info_message
No local row AND Intelligence reports nothing open → "No checkout to discard." No cancel call is made.
apps/intelligence/tests/test_discard_checkout.py:227
Method
test_no_attempt_renders_plan_picker_form
(self)
apps/intelligence/tests/test_discard_checkout.py:402
Method
test_no_category_creates_queue
(self)
apps/calendar/test_security.py:153
Method
test_no_platform_overrides_field_keeps_defaults
The existing behavior — no overrides — must still work.
apps/api/tests/test_platform_overrides.py:187
Method
test_no_registered_tool_internal_errors_via_oauth
(self)
apps/mcp/tests/test_oauth_auth.py:230
Method
test_non_member_denied
(self)
apps/members/tests/test_org_permissions.py:179
Method
test_non_object_body_maps_to_502
(self, mock_get)
apps/composer/tests/test_unsplash.py:185
Method
test_non_pkce_connect_omits_verifier
A non-PKCE provider stores code_verifier=None and is called without it.
apps/social_accounts/tests/test_views.py:144
Method
test_non_retryable_error_fails_immediately
(self)
apps/publisher/tests.py:274
Method
test_non_video_asset_is_404
(self)
apps/composer/tests/test_media_stream.py:169
Method
test_nonces_differ_across_requests
(self)
apps/intelligence/tests/test_internal_client_signing.py:121
Method
test_none_columns_are_skipped
(self, mock_request)
tests/providers/test_youtube.py:88
Method
test_none_post_id_returns_empty_without_request
(self, mock_request)
tests/providers/test_tiktok.py:251
Method
test_none_returns_empty_array_literal
(self)
apps/media_library/tests/test_models_and_filters.py:68
Method
test_none_workflow_allows_direct_schedule
(self, workspace, owner_memberships, social_account)
apps/api/tests/test_review_fixes.py:292
Method
test_nonexistent_account_does_not_raise
(self, db)
apps/social_accounts/tests/test_tasks.py:231
← previous
next →
2,501–2,600 of 3,156, ranked by callers