chap_core.testing package

Submodules

chap_core.testing.estimators module

chap_core.testing.estimators.sanity_check_estimator(estimator)[source]

chap_core.testing.external_model module

chap_core.testing.external_model.sanity_check_cli(train_method, train_dataset, model_path, train_filename)[source]
chap_core.testing.external_model.sanity_check_external_model(folder_path: str)[source]

chap_core.testing.mocks module

class chap_core.testing.mocks.GEEMock(worker_config, *args, **kwargs)[source]

Bases: object

get_historical_era5(features, periodes, fetch_requests: List[FetchRequest] | None = None)[source]

chap_core.testing.testing module

chap_core.testing.testing.assert_dataset_equal(dataset_1: DataSet, dataset_2: DataSet)[source]

Assert that two datasets are equal.

chap_core.testing.testing.assert_tsdataclass_equal(ts_1, ts_2)[source]

Assert that two time series data classes are equal.

Module contents