<commit_before>odoo.define('web.calendar_tests', function (require) {
"use strict";

var CalendarView = require('web.CalendarView');
var testUtils = require('web.test_utils');
var session = require('web.session');

var createView = testUtils.createView;

var initialDate = new Date("2016-12-12 08:00:00");


function mock_check_access_rights(route, args) {
    if (args.method === "check_access_rights") {
        if (!args.model) throw new Error('"model" is undefined to call "check_access_rights"');
        return $.when(true);<commit_msg>[FIX] web: calendar_tests: date format compatible with phantomjs<commit_after>odoo.define('web.calendar_tests', function (require) {
"use strict";

var CalendarView = require('web.CalendarView');
var testUtils = require('web.test_utils');
var session = require('web.session');

var createView = testUtils.createView;

var initialDate = new Date("2016-12-12T08:00:00Z");


function mock_check_access_rights(route, args) {
    if (args.method === "check_access_rights") {
        if (!args.model) throw new Error('"model" is undefined to call "check_access_rights"');
        return $.when(true);
{'fraction_non_alphanumeric': 0.1443661971830986, 'fraction_numerical': 0.02464788732394366, 'mean_word_length': 5.497142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2358825', 'n_tokens_mistral': 374, 'n_tokens_neox': 343, 'n_words': 85}