Esempio n. 1
0
def tagger():
    with mock.patch("fh_immuta_utils.tagging.Tagger.read_configs",
                    return_value=None):
        obj = tg.Tagger(config_root="")
        obj.tag_map_datadict = {}
        obj.tag_map_datasource = {}
    return obj
Esempio n. 2
0
def tagger():
    with mock.patch("fh_immuta_utils.tagging.Tagger.read_configs", return_value=None):
        obj = tg.Tagger(config_root="")
        obj.tag_map_datadict = TAG_MAP
        obj.tag_map_datasource = DATA_SOURCE_TAGS
    return obj
Esempio n. 3
0
def tagger():
    with mock.patch("fh_immuta_utils.tagging.Tagger.read_configs", return_value=None):
        obj = tg.Tagger(config_root="")
        obj.tag_map = TAG_MAP
        obj.tag_groups = TAG_GROUPS
    return obj