def METHOD_NAME(self):
    "Verify that up2dateAuth.login returns login credentials in a dict"
    ret = up2dateAuth.login()
    if type(ret) == type({}):
        if not ret.has_key('X-RHN-Auth'):
            self.fail("Expected a dict containing a X-RHN-AUTH header, didnt get it")
    else:
        self.fail("Expected a dict containing headers, but the return is not a dict")