def METHOD_NAME(self):
    values = ['string', 'no', 'No', 'false', 'FALSE', [], False, 0]
    inventory_content = "host1 "
    inventory_content += ' '.join(['var%s=%s' % (i, to_text(x)) for i, x in enumerate(values)])
    inventory = self._get_inventory(inventory_content)
    variables = inventory.get_host('host1').vars
    for i in range(len(values)):
        if isinstance(values[i], string_types):
            self.assertIsInstance(variables['var%s' % i], string_types)
        else:
            self.assertIsInstance(variables['var%s' % i], type(values[i]))