def cfg(self, foundry_dir: str) -> DictConfig:
        """Create YAML cfg fixture for testing purposes."""
        conf_path: str = os.path.join(
            foundry_dir,
            'scripts/train/yamls/pretrain/testing.yaml',
        )
        with open(conf_path, 'r', encoding='utf-8') as config:
            test_cfg = om.load(config)
        assert isinstance(test_cfg, DictConfig)
        return test_cfg
Create YAML cfg fixture for testing purposes.
tests/a_scripts/train/test_train_inputs.py