Orchestrata Ultimate › Tests › Reference › scripts › test_schedule_tests_cli

Tests reference — tests/scripts/test_schedule_tests_cli.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_schedule_tests_cli.py

source · 21 tests · 423 lines

Tests for scripts/schedule_tests.py -- the §9 row B28 CLP(FD) test-module

Kind Name Line Description
class TestBuildParser 61
method TestBuildParser.test_parses_required_plan_args 62
method TestBuildParser.test_parses_all_optional_flags 74
method TestBuildParser.test_missing_required_flag_exits 96
method TestBuildParser.test_unknown_command_exits 100
class TestFeasiblePlan 110
method TestFeasiblePlan.test_json_output_exit_zero 111
method TestFeasiblePlan.test_plain_manifest_output 126
class TestInfeasibleBudget 144
method TestInfeasibleBudget.test_infeasible_budget_exits_three 145
method TestInfeasibleBudget.test_feasible_budget_exits_zero 165
class TestUsageErrors 185
method TestUsageErrors.test_missing_durations_file_exits_two 186
method TestUsageErrors.test_zero_workers_exits_two 192
method TestUsageErrors.test_malformed_conflicts_file_exits_two 199
method TestUsageErrors.test_infra_map_worker_count_mismatch_exits_two 219
method TestUsageErrors.test_no_eligible_worker_exits_two 240
method TestUsageErrors.test_infra_map_not_an_object_exits_two 266
method TestUsageErrors.test_infra_map_modules_not_an_object_exits_two 286
method TestUsageErrors.test_infra_map_module_reqs_not_a_string_list_exits_two 306
method TestUsageErrors.test_infra_map_worker_caps_not_a_string_list_exits_two 327
method TestUsageErrors.test_infra_map_modules_only_defaults_workers_to_empty 347 An infra-map with ONLY 'modules' (no 'workers' key) falls back to
class TestMain 377
method TestMain.test_main_exits_with_runs_return_code 378
method TestMain.test_main_exits_nonzero_on_usage_error 383
class TestInfraMap 396
method TestInfraMap.test_infra_map_routes_module_to_capable_worker 397