This revs. add a new test suite for the im_support module. Defining a new suite was necessary as the im_support JS feature needs specific keys to be defined in the session, otherwise its files are simply skipped.
13 lines
362 B
Python
13 lines
362 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import http
|
|
from odoo.http import request
|
|
|
|
|
|
class ImSupport(http.Controller):
|
|
|
|
@http.route('/im_support/tests', type='http', auth="user")
|
|
def test_suite(self, mod=None, **kwargs):
|
|
return request.render('im_support.support_qunit_suite')
|