chore: migrate GRACE-Poly anchors to hierarchical dotted naming

Systematic rename of all semantic anchors (#region, [DEF], @RELATION)
across 1400+ files — backend Python, frontend Svelte/TS, specs, docs:
- Flat anchors become Namespace.Module.Entity
- @RELATION references updated to match new anchor paths
- Zero business logic changes
This commit is contained in:
root
2026-07-22 11:48:15 +03:00
parent 34393adf7e
commit 632b730fff
1438 changed files with 17031 additions and 16802 deletions

View File

@@ -1,6 +1,6 @@
# #region TestCheckMigrationChain [C:2] [TYPE Module] [SEMANTICS test,alembic,migration,chain]
# #region Test.CheckMigrationChain.TestCheckMigrationChain [C:2] [TYPE Module] [SEMANTICS test,alembic,migration,chain]
# @BRIEF Tests for migration chain validation logic (mock alembic, no real DB).
# @RELATION BINDS_TO -> [check_migration_chain]
# @RELATION BINDS_TO -> [Tooling.CheckMigrationChain]
# @TEST_EDGE: check_migration_heads_single -> OK prints single head
# @TEST_EDGE: check_migration_heads_multiple -> Exits 1 with error
# @TEST_EDGE: check_migration_heads_empty -> Exits 1 with error
@@ -223,4 +223,4 @@ class TestMain:
main()
assert exc.value.code == 1
mock_integrity.assert_not_called()
# #endregion TestCheckMigrationChain
# #endregion Test.CheckMigrationChain.TestCheckMigrationChain

View File

@@ -1,5 +1,5 @@
# #region test_clean_release_cli [C:2] [TYPE Module]
# @RELATION BINDS_TO -> SrcRoot
# #region Test.CleanReleaseCli.TestCleanReleaseCli [C:2] [TYPE Module]
# @RELATION BINDS_TO -> Init.SrcRoot
# @PURPOSE: Smoke tests for the redesigned clean release CLI.
# @LAYER Domain
@@ -20,8 +20,8 @@ from src.scripts.clean_release_cli import main as cli_main
from src.services.clean_release.enums import CandidateStatus, ComplianceDecision
# #region test_cli_candidate_register_scaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestCliCandidateRegisterScaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify candidate-register command exits successfully for valid required arguments.
def test_cli_candidate_register_scaffold() -> None:
"""Candidate register CLI command smoke test."""
@@ -41,11 +41,11 @@ def test_cli_candidate_register_scaffold() -> None:
assert exit_code == 0
# #endregion test_cli_candidate_register_scaffold
# #endregion Test.CleanReleaseCli.TestCliCandidateRegisterScaffold
# #region test_cli_manifest_build_scaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestCliManifestBuildScaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify candidate-register/artifact-import/manifest-build smoke path succeeds end-to-end.
def test_cli_manifest_build_scaffold() -> None:
"""Manifest build CLI command smoke test."""
@@ -93,11 +93,11 @@ def test_cli_manifest_build_scaffold() -> None:
assert manifest_exit == 0
# #endregion test_cli_manifest_build_scaffold
# #endregion Test.CleanReleaseCli.TestCliManifestBuildScaffold
# #region test_cli_compliance_run_scaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestCliComplianceRunScaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify compliance run/status/violations/report commands complete for prepared candidate.
def test_cli_compliance_run_scaffold() -> None:
"""Compliance CLI command smoke test for run/status/report/violations."""
@@ -216,11 +216,11 @@ def test_cli_compliance_run_scaffold() -> None:
assert report_exit == 0
# #endregion test_cli_compliance_run_scaffold
# #endregion Test.CleanReleaseCli.TestCliComplianceRunScaffold
# #region test_cli_release_gate_commands_scaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestCliReleaseGateCommandsScaffold [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify approve/reject/publish/revoke release-gate commands execute with valid fixtures.
def test_cli_release_gate_commands_scaffold() -> None:
"""Release gate CLI smoke test for approve/reject/publish/revoke commands."""
@@ -351,11 +351,11 @@ def test_cli_release_gate_commands_scaffold() -> None:
assert revoke_exit == 0
# #endregion test_cli_release_gate_commands_scaffold
# #endregion Test.CleanReleaseCli.TestCliReleaseGateCommandsScaffold
# #region test_cli_error_branches [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestCliErrorBranches [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify error-handling branches return expected exit codes and error messages.
def test_cli_duplicate_candidate() -> None:
"""Registering an existing candidate returns exit code 1."""
@@ -481,11 +481,11 @@ def test_cli_unknown_command() -> None:
assert exc_info.value.code == 2
# #endregion test_cli_error_branches
# #endregion Test.CleanReleaseCli.TestCliErrorBranches
# #region test_to_payload [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_cli
# #region Test.CleanReleaseCli.TestToPayload [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseCli.TestCleanReleaseCli
# @PURPOSE: Verify _to_payload serialization for datetime, date, dict, list, tuple, Pydantic, SQLAlchemy, and unsupported types.
def test_to_payload_datetime() -> None:
"""_to_payload handles datetime.isoformat()."""
@@ -577,5 +577,5 @@ def test_to_payload_unsupported_type() -> None:
_to_payload(42)
# #endregion test_to_payload
# #endregion test_clean_release_cli
# #endregion Test.CleanReleaseCli.TestToPayload
# #endregion Test.CleanReleaseCli.TestCleanReleaseCli

View File

@@ -1,5 +1,5 @@
# #region TestCleanReleaseTui [C:2] [TYPE Module]
# @RELATION BINDS_TO -> SrcRoot
# #region Test.CleanReleaseTui.TestCleanReleaseTui [C:2] [TYPE Module]
# @RELATION BINDS_TO -> Init.SrcRoot
# @SEMANTICS: tests, tui, clean-release, curses
# @PURPOSE: Unit tests for the interactive curses TUI of the clean release process.
# @LAYER Tests
@@ -24,8 +24,8 @@ def mock_stdscr() -> MagicMock:
return stdscr
# #region test_headless_fallback [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestHeadlessFallback [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_headless_fallback(capsys):
"""
@TEST_EDGE: stdout_unavailable
@@ -43,11 +43,11 @@ def test_headless_fallback(capsys):
assert "Use CLI/API workflow instead" in captured.err
# #endregion test_headless_fallback
# #endregion Test.CleanReleaseTui.TestHeadlessFallback
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_initial_render [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestTuiInitialRender [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_tui_initial_render(mock_curses_module, mock_stdscr: MagicMock):
"""
Simulates the initial rendering cycle of the TUI application to ensure
@@ -80,11 +80,11 @@ def test_tui_initial_render(mock_curses_module, mock_stdscr: MagicMock):
assert any("F5 Run" in str(call) for call in addstr_calls)
# #endregion test_tui_initial_render
# #endregion Test.CleanReleaseTui.TestTuiInitialRender
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_run_checks_f5 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestTuiRunChecksF5 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_tui_run_checks_f5(mock_curses_module, mock_stdscr: MagicMock):
"""
Simulates pressing F5 to transition into the RUNNING checks flow.
@@ -119,11 +119,11 @@ def test_tui_run_checks_f5(mock_curses_module, mock_stdscr: MagicMock):
assert len(app.violations_list) > 0
# #endregion test_tui_run_checks_f5
# #endregion Test.CleanReleaseTui.TestTuiRunChecksF5
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_exit_f10 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestTuiExitF10 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_tui_exit_f10(mock_curses_module, mock_stdscr: MagicMock):
"""
Simulates pressing F10 to exit the application immediately without running checks.
@@ -140,11 +140,11 @@ def test_tui_exit_f10(mock_curses_module, mock_stdscr: MagicMock):
assert app.status == "READY"
# #endregion test_tui_exit_f10
# #endregion Test.CleanReleaseTui.TestTuiExitF10
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_clear_history_f7 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestTuiClearHistoryF7 [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_tui_clear_history_f7(mock_curses_module, mock_stdscr: MagicMock):
"""
Simulates pressing F7 to clear history.
@@ -168,16 +168,16 @@ def test_tui_clear_history_f7(mock_curses_module, mock_stdscr: MagicMock):
assert len(app.checks_progress) == 0
# #endregion test_tui_clear_history_f7
# #endregion Test.CleanReleaseTui.TestTuiClearHistoryF7
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_real_mode_bootstrap_imports_artifacts_catalog [C:2] [TYPE Function]
# @RELATION BINDS_TO -> TestCleanReleaseTui
# #region Test.CleanReleaseTui.TestTuiRealModeBootstrapImportsArtifactsCatalog [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTui.TestCleanReleaseTui
def test_tui_real_mode_bootstrap_imports_artifacts_catalog(
mock_curses_module,
mock_stdscr: MagicMock,
tmp_path,
# #endregion test_tui_real_mode_bootstrap_imports_artifacts_catalog
# #endregion Test.CleanReleaseTui.TestTuiRealModeBootstrapImportsArtifactsCatalog
):
"""
@@ -241,4 +241,4 @@ def test_tui_real_mode_bootstrap_imports_artifacts_catalog(
assert artifacts[0].detected_category == "core"
# #endregion TestCleanReleaseTui
# #endregion Test.CleanReleaseTui.TestCleanReleaseTui

View File

@@ -1,5 +1,5 @@
# #region test_clean_release_tui_v2 [C:2] [TYPE Module]
# @RELATION BINDS_TO -> SrcRoot
# #region Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2 [C:2] [TYPE Module]
# @RELATION BINDS_TO -> Init.SrcRoot
# @PURPOSE: Smoke tests for thin-client TUI action dispatch and blocked transition behavior.
# @LAYER Domain
@@ -14,8 +14,8 @@ from src.models.clean_release import CheckFinalStatus
from src.scripts.clean_release_tui import CleanReleaseTUI, main
# #region _build_mock_stdscr [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_tui_v2
# #region Test.CleanReleaseTuiV2.BuildMockStdscr [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2
# @PURPOSE: Build deterministic curses screen mock with default terminal geometry and exit key.
def _build_mock_stdscr() -> MagicMock:
stdscr = MagicMock()
@@ -24,12 +24,12 @@ def _build_mock_stdscr() -> MagicMock:
return stdscr
# #endregion _build_mock_stdscr
# #endregion Test.CleanReleaseTuiV2.BuildMockStdscr
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_f5_dispatches_run_action [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_tui_v2
# #region Test.CleanReleaseTuiV2.TestTuiF5DispatchesRunAction [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2
# @PURPOSE: Verify F5 key dispatch invokes run_checks exactly once before graceful exit.
def test_tui_f5_dispatches_run_action(mock_curses_module: MagicMock) -> None:
"""F5 should dispatch run action from TUI loop."""
@@ -48,12 +48,12 @@ def test_tui_f5_dispatches_run_action(mock_curses_module: MagicMock) -> None:
run_checks_mock.assert_called_once_with()
# #endregion test_tui_f5_dispatches_run_action
# #endregion Test.CleanReleaseTuiV2.TestTuiF5DispatchesRunAction
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_f5_run_smoke_reports_blocked_state [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_tui_v2
# #region Test.CleanReleaseTuiV2.TestTuiF5RunSmokeReportsBlockedState [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2
# @PURPOSE: Verify blocked compliance state is surfaced after F5-triggered run action.
def test_tui_f5_run_smoke_reports_blocked_state(mock_curses_module: MagicMock) -> None:
"""F5 smoke test should expose blocked outcome state after run action."""
@@ -79,11 +79,11 @@ def test_tui_f5_run_smoke_reports_blocked_state(mock_curses_module: MagicMock) -
assert app.violations_list
# #endregion test_tui_f5_run_smoke_reports_blocked_state
# #endregion Test.CleanReleaseTuiV2.TestTuiF5RunSmokeReportsBlockedState
# #region test_tui_non_tty_refuses_startup [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_tui_v2
# #region Test.CleanReleaseTuiV2.TestTuiNonTtyRefusesStartup [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2
# @PURPOSE: Verify non-TTY execution returns exit code 2 with actionable stderr guidance.
def test_tui_non_tty_refuses_startup(capsys) -> None:
"""Non-TTY startup must refuse TUI mode and redirect operator to CLI/API flow."""
@@ -96,12 +96,12 @@ def test_tui_non_tty_refuses_startup(capsys) -> None:
assert "Use CLI/API workflow instead" in captured.err
# #endregion test_tui_non_tty_refuses_startup
# #endregion Test.CleanReleaseTuiV2.TestTuiNonTtyRefusesStartup
@patch("src.scripts.clean_release_tui.curses")
# #region test_tui_f8_blocked_without_facade_binding [C:2] [TYPE Function]
# @RELATION BINDS_TO -> test_clean_release_tui_v2
# #region Test.CleanReleaseTuiV2.TestTuiF8BlockedWithoutFacadeBinding [C:2] [TYPE Function]
# @RELATION BINDS_TO -> Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2
# @PURPOSE: Verify F8 path reports disabled action instead of mutating hidden facade state.
def test_tui_f8_blocked_without_facade_binding(mock_curses_module: MagicMock) -> None:
"""F8 should not perform hidden state mutation when facade action is not bound."""
@@ -120,5 +120,5 @@ def test_tui_f8_blocked_without_facade_binding(mock_curses_module: MagicMock) ->
assert "F8 disabled" in app.last_error
# #endregion test_tui_f8_blocked_without_facade_binding
# #endregion test_clean_release_tui_v2
# #endregion Test.CleanReleaseTuiV2.TestTuiF8BlockedWithoutFacadeBinding
# #endregion Test.CleanReleaseTuiV2.TestCleanReleaseTuiV2

View File

@@ -1,6 +1,6 @@
# #region TestCreateAdmin [C:2] [TYPE Module] [SEMANTICS test,admin,user,cli]
# #region Test.CreateAdmin.TestCreateAdmin [C:2] [TYPE Module] [SEMANTICS test,admin,user,cli]
# @BRIEF Tests for create_admin.py script (mocked DB, no real auth.db).
# @RELATION BINDS_TO -> [CreateAdminScript]
# @RELATION BINDS_TO -> [Tooling.CreateAdmin.CreateAdminScript]
# @TEST_EDGE: create_admin_new_user -> Creates user and role successfully
# @TEST_EDGE: create_admin_user_exists -> Returns "exists"
# @TEST_EDGE: create_admin_existing_role -> Reuses existing Admin role
@@ -165,4 +165,4 @@ class TestCreateAdmin:
mock_db.rollback.assert_called_once()
mock_db.close.assert_called_once()
# #endregion TestCreateAdmin
# #endregion Test.CreateAdmin.TestCreateAdmin

View File

@@ -1,6 +1,6 @@
# #region TestDeleteRunningTasks [C:2] [TYPE Module] [SEMANTICS test,maintenance,tasks,cleanup]
# #region Test.DeleteRunningTasks.TestDeleteRunningTasks [C:2] [TYPE Module] [SEMANTICS test,maintenance,tasks,cleanup]
# @BRIEF Tests for delete_running_tasks.py script (mocked DB session).
# @RELATION BINDS_TO -> [DeleteRunningTasksUtil]
# @RELATION BINDS_TO -> [Tooling.DeleteRunningTasks.DeleteRunningTasksUtil]
# @TEST_EDGE: delete_with_running_tasks -> Deletes found tasks
# @TEST_EDGE: delete_no_running_tasks -> Prints message, no deletion
# @TEST_EDGE: delete_db_error -> Rollback on failure
@@ -96,4 +96,4 @@ class TestDeleteRunningTasks:
mock_session.rollback.assert_called_once()
mock_session.close.assert_called_once()
# #endregion TestDeleteRunningTasks
# #endregion Test.DeleteRunningTasks.TestDeleteRunningTasks

View File

@@ -1,6 +1,6 @@
# #region TestFacadeAdapter [C:3] [TYPE Module] [SEMANTICS test,clean-release,facade,tui,adapter]
# #region Test.FacadeAdapter.TestFacadeAdapter [C:3] [TYPE Module] [SEMANTICS test,clean-release,facade,tui,adapter]
# @BRIEF Tests for TuiFacadeAdapter and CleanReleaseTUI logic methods (non-rendering).
# @RELATION BINDS_TO -> [CleanReleaseTuiScript]
# @RELATION BINDS_TO -> [Tooling.CleanReleaseTui.CleanReleaseTuiScript]
# @TEST_EDGE: facade_build_config_no_policy -> Raises ValueError
# @TEST_EDGE: facade_run_compliance_no_manifests -> Raises ValueError
# @TEST_EDGE: facade_approve_latest_no_reports -> Raises ValueError
@@ -495,4 +495,4 @@ class TestBootstrapRealRepository:
assert repo.get_registry("REG-TEST") is not None
policy = repo.get_policy("POL-TEST")
assert policy is not None
# #endregion TestFacadeAdapter
# #endregion Test.FacadeAdapter.TestFacadeAdapter

View File

@@ -1,6 +1,6 @@
# #region TestInitAuthDb [C:2] [TYPE Module] [SEMANTICS test,auth,database,init]
# #region Test.InitAuthDb.TestInitAuthDb [C:2] [TYPE Module] [SEMANTICS test,auth,database,init]
# @BRIEF Tests for init_auth_db.py script (mocked dependencies).
# @RELATION BINDS_TO -> [InitAuthDbScript]
# @RELATION BINDS_TO -> [Tooling.InitAuthDb.InitAuthDbScript]
# @TEST_EDGE: run_init_calls_all_steps -> Calls ensure_encryption_key, init_db, seed_permissions
# @TEST_EDGE: run_init_exception -> Exits 1 on failure
import sys
@@ -79,4 +79,4 @@ class TestRunInit:
mock_enc_key.assert_called_once()
mock_init_db.assert_called_once()
# #endregion TestInitAuthDb
# #endregion Test.InitAuthDb.TestInitAuthDb

View File

@@ -1,6 +1,6 @@
# #region TestSeedPermissions [C:2] [TYPE Module] [SEMANTICS test,rbac,permissions,seed]
# #region Test.SeedPermissions.TestSeedPermissions [C:2] [TYPE Module] [SEMANTICS test,rbac,permissions,seed]
# @BRIEF Tests for seed_permissions.py script (mocked DB, no real auth.db).
# @RELATION BINDS_TO -> [SeedPermissionsScript]
# @RELATION BINDS_TO -> [Tooling.SeedPermissions.SeedPermissionsScript]
# @TEST_EDGE: initial_permissions_structure -> All entries have resource+action
# @TEST_EDGE: initial_permissions_values -> Known permissions present
# @TEST_EDGE: seed_permissions_adds_new -> Creates missing permissions
@@ -149,4 +149,4 @@ class TestSeedPermissions:
mock_db.rollback.assert_called_once()
mock_db.close.assert_called_once()
# #endregion TestSeedPermissions
# #endregion Test.SeedPermissions.TestSeedPermissions

View File

@@ -1,6 +1,6 @@
# #region TestSeedSupersetLoadTest [C:2] [TYPE Module] [SEMANTICS test,superset,seed,load-test]
# #region Test.SeedSupersetLoad.TestSeedSupersetLoadTest [C:2] [TYPE Module] [SEMANTICS test,superset,seed,load-test]
# @BRIEF Tests for pure logic functions in seed_superset_load_test.py (no real Superset API).
# @RELATION BINDS_TO -> [SeedSupersetLoadTestScript]
# @RELATION BINDS_TO -> [Tooling.SeedSupersetLoad.SeedSupersetLoadTestScript]
# @TEST_EDGE: parse_args_defaults -> Returns default values
# @TEST_EDGE: parse_args_custom -> Overrides with CLI args
# @TEST_EDGE: extract_result_payload_wrapped -> Unwraps 'result' key
@@ -294,4 +294,4 @@ class TestSeedSupersetLoadData:
assert result["templates_by_env"] == {"ss1": 1}
# In dry_run mode, no POST requests are made
mock_client.network.request.assert_not_called()
# #endregion TestSeedSupersetLoadTest
# #endregion Test.SeedSupersetLoad.TestSeedSupersetLoadTest

View File

@@ -1,6 +1,6 @@
# #region TestTestDatasetDashboardRelations [C:2] [TYPE Module] [SEMANTICS test,dataset,dashboard,superset]
# #region Test.TestDatasetDashboardRelations.TestTestDatasetDashboardRelations [C:2] [TYPE Module] [SEMANTICS test,dataset,dashboard,superset]
# @BRIEF Tests for test_dataset_dashboard_relations script (mocked Superset API, no real connection).
# @RELATION BINDS_TO -> [test_dataset_dashboard_relations_script]
# @RELATION BINDS_TO -> [Test.DatasetDashboardRelations.TestDatasetDashboardRelationsScript]
# @TEST_EDGE: script_has_if_name_guard -> Module executes only under __main__
# @TEST_EDGE: test_function_calls_client -> Verifies client authentication and API calls
# @TEST_EDGE: dashboard_response_parsing -> Handles slices in dashboard
@@ -187,4 +187,4 @@ class TestTestDatasetDashboardRelations:
# Should not crash, but authenticate should NOT be called
MockSupersetClient.return_value.authenticate.assert_not_called()
# #endregion TestTestDatasetDashboardRelations
# #endregion Test.TestDatasetDashboardRelations.TestTestDatasetDashboardRelations