var testHelper = require('../../support/test_helper'); var assert = require('../../support/assert'); var fs = require('fs'); var http = require('http'); var ServerOptions = require('./support/ported_server_options'); var testClient = require('./support/test_client'); var BaseController = require('../../../lib/cartodb/controllers/base'); function rmdir_recursive_sync(dirname) { var files = fs.readdirSync(dirname); for (var i=0; i