def METHOD_NAME(self):
    def convert(tag_string, vocab):
        key = "vocab_tags"
        data = {key: tag_string}
        errors = []
        context = {"model": model, "session": model.Session}
        converters.convert_to_tags(vocab)(key, data, errors, context)
        del data[key]
        return data
    data = df.unflatten(convert(["tag1", "tag2"], "test-vocab"))
    for tag in data["tags"]:
        assert tag["name"] in ["tag1", "tag2"], tag["name"]
        assert tag["vocabulary_id"] == self.vocab.id, tag["vocabulary_id"]