def test_instantiate(core_config, patch_mongo, ampel_logger):
    '\n    AbsT3Loader understands all the aliases in the ampel-core config\n    '
    ctx = AmpelContext.load(core_config)
    aliases = ctx.config.get('alias.t3', dict)
    assert (len((directives := T3SimpleDataLoader(context=ctx, logger=ampel_logger, directives=[k[1:] for k in aliases.keys()]).directives)) == len(aliases))
    for (d, value) in zip(directives, aliases.values()):
        assert (d.dict(exclude_defaults=True) == value)
AbsT3Loader understands all the aliases in the ampel-core config
def test_instantiate(core_config, patch_mongo, ampel_logger):
    '\n    \n    '
    ctx = AmpelContext.load(core_config)
    aliases = ctx.config.get('alias.t3', dict)
    assert (len((directives := T3SimpleDataLoader(context=ctx, logger=ampel_logger, directives=[k[1:] for k in aliases.keys()]).directives)) == len(aliases))
    for (d, value) in zip(directives, aliases.values()):
        assert (d.dict(exclude_defaults=True) == value)