23 lines
573 B
Python
23 lines
573 B
Python
# -*- coding: utf-8 -*-
|
|
"""
|
|
Common test infrastructure for MQTT module
|
|
|
|
DEPRECATED: Old service-based tests removed.
|
|
Use iot_bridge/tests/ for standalone bridge tests.
|
|
Use REST API endpoints for integration tests.
|
|
"""
|
|
|
|
from odoo.tests import TransactionCase
|
|
import logging
|
|
|
|
_logger = logging.getLogger(__name__)
|
|
|
|
|
|
class MqttTestCase(TransactionCase):
|
|
"""Base test case for MQTT module - legacy support only"""
|
|
|
|
@classmethod
|
|
def setUpClass(cls):
|
|
super().setUpClass()
|
|
_logger.warning("MqttTestCase is deprecated - use REST API tests instead")
|