def ex_get_tag_key_by_name(self, name):
        tag_keys = self.ex_list_tag_keys(name=name)
        if len(tag_keys) != 1:
            raise ValueError("No tags found with name %s" % name)
        return tag_keys[0]
Test that image size is swaped if needed.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_get_tag_key_by_name--crossover with--dataset/ETHPy150Open saimn/sigal/tests/test_settings.py/test_theme_path