← Về thư mục
tests/market-research-reports/test_scripts.py
- load_json · function · L42-L44 — def load_json(name: str) -> dict
- EvidenceLedgerTests · class · L47-L81 — class EvidenceLedgerTests(unittest.TestCase)
- test_synthetic_source_ledger_is_valid · method · L48-L53 — def test_synthetic_source_ledger_is_valid(self) -> None
- test_duplicate_source_id_fails · method · L55-L60 — def test_duplicate_source_id_fails(self) -> None
- test_not_stated_publication_date_warns_without_crashing · method · L62-L70 — def test_not_stated_publication_date_warns_without_crashing(self) -> None
- test_retrieval_before_publication_fails · method · L72-L81 — def test_retrieval_before_publication_fails(self) -> None
- MarketSizingTests · class · L84-L104 — class MarketSizingTests(unittest.TestCase)
- test_synthetic_sizing_reconciles_and_returns_scenarios · method · L85-L90 — def test_synthetic_sizing_reconciles_and_returns_scenarios(self) -> None
- test_duplicate_coverage_key_is_rejected · method · L92-L98 — def test_duplicate_coverage_key_is_rejected(self) -> None
- test_inconsistent_denominator_is_rejected · method · L100-L104 — def test_inconsistent_denominator_is_rejected(self) -> None
- ForecastTests · class · L107-L130 — class ForecastTests(unittest.TestCase)
- test_synthetic_forecast_returns_range_and_sensitivity · method · L108-L116 — def test_synthetic_forecast_returns_range_and_sensitivity(self) -> None
- test_unvalidated_probability_is_rejected · method · L118-L122 — def test_unvalidated_probability_is_rejected(self) -> None
- test_horizon_rejects_float_string_and_boolean_values · method · L124-L130 — def test_horizon_rejects_float_string_and_boolean_values(self) -> None
- CompetitorMatrixTests · class · L133-L152 — class CompetitorMatrixTests(unittest.TestCase)
- setUp · method · L134-L142 — def setUp(self) -> None
- test_complete_synthetic_matrix_is_valid · method · L144-L147 — def test_complete_synthetic_matrix_is_valid(self) -> None
- test_incomplete_matrix_fails · method · L149-L152 — def test_incomplete_matrix_fails(self) -> None
- ClaimAuditTests · class · L155-L172 — class ClaimAuditTests(unittest.TestCase)
- setUp · method · L156-L160 — def setUp(self) -> None
- test_synthetic_claims_are_fully_mapped · method · L162-L165 — def test_synthetic_claims_are_fully_mapped(self) -> None
- test_uncited_forecast_fails · method · L167-L172 — def test_uncited_forecast_fails(self) -> None
- ConsistencyTests · class · L175-L191 — class ConsistencyTests(unittest.TestCase)
- setUp · method · L176-L180 — def setUp(self) -> None
- test_synthetic_comparison_group_is_consistent · method · L182-L184 — def test_synthetic_comparison_group_is_consistent(self) -> None
- test_mixed_currency_fails · method · L186-L191 — def test_mixed_currency_fails(self) -> None
- ScaffoldTests · class · L194-L207 — class ScaffoldTests(unittest.TestCase)
- test_scaffold_creates_only_expected_local_files · method · L195-L207 — def test_scaffold_creates_only_expected_local_files(self) -> None