[devtools] even better: use a plain Connection (server-side) object for pre_setup
The previous commit switched from passing a Session to a
ClientConnection.
This fixes unittest_ldapsource's pre_setup_database, which relied on a
server-side object to get at the repo.
/*
* cubicweb js mock for unit tests
* This module defines variables and functions used in quite a few places
* in cw js framework that can't be used or guessed without a real CW server
*/
var pageid = 'my-page-id';
function _(message) {
return message;
}