cubicweb/devtools/data/cwmock.js
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 05 Apr 2017 10:34:04 +0200
branch3.25
changeset 12132 be2c14ea2736
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[server/test] Turn "pull" method of LDAPFeedTestBase into a staticmethod Because it does not use reference to "self" (which should be "cls" for classmethod).

/*
 * 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;
}