def test_misspelled_mandatory_params_fail(self, cfg: DictConfig) -> None:
        """Check that mandatory misspelled inputs fail to train."""
        cfg.trai_loader = cfg.pop('train_loader')
        with pytest.raises(
            (omegaconf.errors.MissingMandatoryValue, TypeError, ValueError),
        ):
            train(cfg)
Check that mandatory misspelled inputs fail to train.
tests/a_scripts/train/test_train_inputs.py