def METHOD_NAME(self):
    """
    Ensure that this function converts the value passed to a unicode type
    (if possible) on Python 2, and a str type (if possible) on Python 3.
    """
    self.assertEqual(
        salt.utils.hashutils.base64_b64decode(self.str_b64encode_result), self.str
    )
    self.assertEqual(
        salt.utils.hashutils.base64_b64decode(self.bytes_b64encode_result),
        self.bytes,
    )