mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-24 05:12:07 +02:00
Initial commit: Core packages
This commit is contained in:
commit
12c29a983b
9512 changed files with 8379910 additions and 0 deletions
12
odoo-bringout-oca-ocb-bus/bus/tests/test_health.py
Normal file
12
odoo-bringout-oca-ocb-bus/bus/tests/test_health.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests import HttpCase
|
||||
|
||||
|
||||
class TestBusController(HttpCase):
|
||||
def test_health(self):
|
||||
response = self.url_open('/websocket/health')
|
||||
self.assertEqual(response.status_code, 200)
|
||||
payload = response.json()
|
||||
self.assertEqual(payload['status'], 'pass')
|
||||
self.assertFalse(response.cookies.get('session_id'))
|
||||
Loading…
Add table
Add a link
Reference in a new issue