'Run a test only if the client is not connected to a mongos.'

def require_no_mongos(self, func):

    return self._require((not self.is_mongos), 'Must    be    connected    to    a    mongod,    not    a    mongos', func=func)
