def METHOD_NAME(self):
    self.assertTrue(hasattr(self.domain, "connection"))
    self.assertTrue(hasattr(self.domain.connection, "aws_access_key_id"))
    self.assertTrue(hasattr(self.domain.connection, "aws_secret_access_key"))