cubicweb/devtools/data/cwmock.js
author Denis Laxalde <denis.laxalde@logilab.fr>
Wed, 12 Oct 2016 11:09:08 +0200
changeset 11714 73201a210007
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[test] Make cubicweb/test/unittest_utils.py flake8-clean

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