mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-19 11:11:59 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
15
odoo-bringout-oca-ocb-utm/utm/tests/test_routes.py
Normal file
15
odoo-bringout-oca-ocb-utm/utm/tests/test_routes.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
import odoo.tests
|
||||
from odoo.addons.base.tests.common import HttpCaseWithUserDemo
|
||||
|
||||
|
||||
@odoo.tests.tagged('post_install', '-at_install')
|
||||
class TestRoutes(HttpCaseWithUserDemo):
|
||||
|
||||
def test_01_web_session_destroy(self):
|
||||
base_url = self.env['ir.config_parameter'].sudo().get_param('web.base.url')
|
||||
self.authenticate('demo', 'demo')
|
||||
res = self.opener.post(url=base_url + '/web/session/destroy', json={})
|
||||
self.assertEqual(res.status_code, 200)
|
||||
Loading…
Add table
Add a link
Reference in a new issue