def METHOD_NAME(self):
    # Can't create client if SERVERS isn't there
    del settings.SERVERS
    with self.assertRaises(Exception):
        self.create_client(self.default_args)
    # Can't create client if SERVERS isn't a list
    settings.SERVERS = "foo"
    with self.assertRaises(Exception):
        self.create_client(self.default_args)
    # OK
    settings.SERVERS = self.orig_servers
    self.create_client(self.default_args)
    # Set MANAGE_BUILD_ROOT by default
    del settings.MANAGE_BUILD_ROOT
    self.create_client(self.default_args)
    # Can't create client if MANAGE_BUILD_ROOT isn't a bool
    settings.MANAGE_BUILD_ROOT = "foo"
    with self.assertRaises(Exception):
        self.create_client(self.default_args)
    # OK
    settings.MANAGE_BUILD_ROOT = self.orig_manage_build_root
    self.create_client(self.default_args)